EE BIOL C177/C234
penguins dataset π§A one-dimensional array β like a row of seats that only allows one type
c() means βcombineβ β youβll type it a lot!
β οΈ Everything in a vector must be the same type
Always verify with class():
Horror story: Excel auto-converts gene name SEPT4 β 4-Sept π±
Read the news on Science
Use square brackets [] β indexing starts at 1 (not 0!):
Create a vector of numbers from -1 to -3, then extract the second element:
Vectors bound together in columns β a tidy table
Each variable is a column, each observation is a row, each type of observational unit is a table. β Hadley Wickham

dbl, chr, lgl)data.frameCreate a tibble with name, age, and is_student columns:
Three species from Palmer Station, Antarctica:
Artwork by allison_horst
First rule of data analysis: always inspect your data
Basic Data Structures