[1] BS MS PhD MS
Levels: BS MS PhD
Data tidying and importing
We talked about types so far, next we’ll introduce the concept of classes
R uses factors to handle categorical variables, variables that have a fixed and known set of possible values
We can think of factors like character (level labels) and an integer (level numbers) glued together
We can think of dates like an integer (the number of days since the origin, 1 Jan 1970) and an integer (the origin) glued together
We can think of data frames like like vectors of equal length glued together
Lists are a generic vector container; vectors of any type can go in them
pull() function, we extract a vector from the data frame… stay for the logo
