Description Usage Arguments Details Examples
View source: R/classElementR_R6.R
Read the content of an Excel (.xls and .xlsx), OpenOffice (.ods) and text (.csv) worksheet
1 | readData(x, sep, dec)
|
x |
a character string corresponding to the path or name of the file to read |
sep |
a character string corresponding to the separator |
dec |
a character string corresponding to the decimal |
For the Excel and text format, readData
reads by default the first worksheet of the file and the one called "data" for the OpenOffice format.
1 2 3 4 5 | ## Read data based on its path "filePath"
filePath <- system.file("Example_Session/standards/Stand1.csv", package="elementR")
readData(filePath, sep = ";", dec = ".")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.