class/date/data str
Saturday, 4 March, 2023 9:28 PM
Class: numeric, integers, logical, character (factor: special case)
• test: [Link]()
• coercing: [Link]()
• factor(data, ordered = TRUE, levels = )
• levels(data)
lubridate
• [Link]("2022/11/23", "%Y/%m/%d")
• [Link]() date of today
• seq()
Data Structure
• vector
• matrix (same length, same type)
▪ matrix(1:9, nrow = 3, byrow = TRUE)
▪ dim(matrix1)
▪ select: [row, col]
• data frame (same length, diff type)
▪ [Link]()
▪ select: [row, col] or $
• list (both diff)
▪ select: [[obj]] or $
New Section 1 Page 1