Description Usage Arguments Value Examples
A wrapper around the read.csv function allowing for creating factors on the fly
1 2 3 4 5 6 7 | read_data(
pathname,
sep = ",",
dec = ".",
create_factors = T,
show_structure = F
)
|
pathname |
The path to your csv file. |
sep |
The column separator, default is ','. |
dec |
the decimal separator, default is '.'. |
create_factors |
If 'TRUE', all columns will be returned as factorial, default is 'TRUE'. |
show_structure |
Shows the structure of the final data via 'str()'. |
show_head |
Shows the head of the final data via 'head()'. |
A data frame with factors if the input data was non-numbers (integers or floats).
1 | # no example yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.