Description Usage Arguments Details Value Examples
to more easily read data with a 2nd row with units common to phx data
1 2 3 4 5 6 7 8 9 10 11 |
data |
the name of the csv |
skip |
rows to skip before header row |
header |
logical value indicating whether the file contains the names of variables as it's first line |
sep |
field separator character. With fread defaults to 'auto', else defaults to "," |
stringsAsFactors |
logical value whether to include string columns as factors |
has_units |
logical value whether has a units row below the header (eg phx nlme data) |
fread |
logical value. Use fread from data.table for much faster reading |
data.table |
logical value. When using fread, whether to return data.table (TRUE) or data.frame (FALSE) |
... |
additional arguments to read.csv functions |
helpful function to handle situations where the second row is a units row as often seen with phoenix-style datasets
data frame of read-in csv
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.