There are three options to get data into R:
- Enter manually (for small data sets)
- Import spreadsheet (CSV, or Excel files)
- Open RDA files (R data files; for data already processed in R)
It is best to have no spaces in variable names as otherwise the whole name . In a spreadsheet, the variable names are stored in the first row. If the variable name contains a space, this space will be converted to a full stop “.”. However, it is generally preferable not to use spaces in variable names and adhere to conventions such as:
See also: