Description Usage Arguments Details Value Examples
Quick and dirty simple munging for data frames with mostly character data.
1 |
df |
matrix or data table |
Note - if this throws the error "Error in FUN(X[[i]], ...) : invalid multibyte string 203", you've got some weird characters in your dataset. Add ' fileEncoding="latin1 ' to the end of your read.csv line for the data frame that you read in.
many thanks to this stack overflow answer: http://stackoverflow.com/questions/17964513/subset-variables-in-data-frame-based-on-column-type
lowercase data frame with white space trimmed. numeric, Date, and integer columns are left alone.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.