as.data.frame.data.list | R Documentation |
Converts a data.list to a data.frame.
## S3 method for class 'data.list'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
The data.list to be converted. |
row.names |
Not used. |
optional |
Not used. |
... |
Not used. |
The forecasts in the data.list will result in columns named varname.kxx
in the data.frame.
A data.frame
#' # Use the data.list with building heat load
D <- Dbuilding
# Take a subset
D <- subset(D, 1:5, nms=c("t","Taobs","Ta","Iobs","I"), kseq=1:3)
# Convert to a data.frame, note the names of the forecasts are appended .kxx (i.e. for Ta and I)
as.data.frame(D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.