View source: R/Long2WideTableByTime.R
Long2WideTableByTime | R Documentation |
Special pivot function for the case of Time
Long2WideTableByTime(Time, Id, NumericVector, Freq = "days")
Time |
[1:m] time vector |
Id |
[1:m] id vector defining the features with |
NumericVector |
[1:m] data vector of values fo the feautures (content of long table) |
Freq |
frequency of |
The feautures are together a long table. Currently only use for a special case, requires probably further development and should be only used with care.
[1:n,1:d] data matrix (wide table) of n cases and d features
Michael Thrun
##ToDo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.