ReadDates | R Documentation |
read univariate or multivariate time series similar to the LRN format
ReadDates(FileName = NULL, InDirectory = getwd(), Silent = TRUE)
FileName |
String, name of the file to be written |
InDirectory |
Optional: string, name of directory the data will be saved in, default |
Silent |
If FALSE: Comments and messages are not printed out. Message contains the information if any column is named "Time". |
Internally the tibble format is used. If it can be transformed a list is given back as output as defined below. If not, the tibble frame is directly given back as output.
If no column is named "Time", the function assumes that the first column after key contains the time information. In this case the name of that column is given back as the first argument of the output.
a list with following elements:
Time |
time in as.Date() form of n rows and 1 column. If the user named the column any other way the name is adapted, see details. |
Data |
a numeric matrix containing n rows and d columns |
Key |
a numeric vector of length(n) |
Header |
d column names for Data |
Michael Thrun
WriteDates
##todo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.