- Data Frames are the work horse of R objects
- Structured by rows and columns and can be indexed
- Each column is a specified variable type
- Columns names can be used to index a variable
- Advice for naming variable applys to editing columns names
Can be specified by grouping vectors of equal length as columns
Follow along (copy & paste the code into the console):
curl::curl_download(
"https://raw.githubusercontent.com/heike/rwrks/gh-pages/summerschool/01-Introduction-to-R/code/3-r-objects.R",
"3-r-objects.R"
)
file.edit("3-r-objects.R")