otReadData is a function to make a data.frame from a xlsx book file. If a sheet2 on a xlsx book file includes descriptions of each variables, this function mutates a numeric vector to a factor one.
1 | otReadData(path, sheet = NULL, label_file = path, label_sheet = "Label", ...)
|
path |
path to the xls/xlsx file. |
sheet |
sheet to read data. Ether a string (the name of sheet), or an integer (the position of the sheet). |
label_file |
path to the xls/xlsx file to read value labels. |
label_sheet |
sheet to read value labels. Ether a string or an integer. |
... |
further arguments passed to or from other methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.