tsframe | R Documentation |
Convert a multiple time series matrix to a data.frame
tsframe(
data,
response,
id = getOption("latrend.id"),
time = getOption("latrend.time"),
ids = rownames(data),
times = colnames(data),
as.data.table = FALSE
)
meltRepeatedMeasures(
data,
response,
id = getOption("latrend.id"),
time = getOption("latrend.time"),
ids = rownames(data),
times = colnames(data),
as.data.table = FALSE
)
data |
The |
response |
The response column name. |
id |
The id column name. |
time |
The time column name. |
ids |
A |
times |
A |
as.data.table |
Whether to return the result as a |
A data.table
or data.frame
containing the repeated measures.
The meltRepeatedMeasures()
function is deprecated and will be removed in a future version,
please use tsframe()
instead.
tsmatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.