Long2WideTableByTime: Long2WideTableByTime

View source: R/Long2WideTableByTime.R

Long2WideTableByTimeR Documentation

Long2WideTableByTime

Description

Special pivot function for the case of Time

Usage

Long2WideTableByTime(Time, Id, NumericVector, Freq = "days")

Arguments

Time

[1:m] time vector

Id

[1:m] id vector defining the features with d different features

NumericVector

[1:m] data vector of values fo the feautures (content of long table)

Freq

frequency of Time

Details

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.

Value

[1:n,1:d] data matrix (wide table) of n cases and d features

Author(s)

Michael Thrun

Examples

##ToDo

Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.