wide2long: Transform id and time of wide format into long format

View source: R/hmatrix.R

wide2longR Documentation

Transform id and time of wide format into long format

Description

Transform id and time from wide format into long format, i.e., time and id are repeated accordingly so that two vectors of the same length are returned.

Usage

wide2long(time, id)

Arguments

time

the observation points

id

the id for the curve

Value

a list with time and id


FDboost documentation built on Aug. 12, 2023, 5:13 p.m.