data.time: Management of data for longitudinal submodel

View source: R/data.time.R

data.timeR Documentation

Management of data for longitudinal submodel

Description

Management of data for longitudinal submodel

Usage

data.time(data.id, Time, formFixed, formRandom, timeVar)

Arguments

data.id

A dataframe

Time

A vector of Time of events

formFixed

A formula for the fixed effects of the longitudinal submodel

formRandom

A formula for the random effects of the longitudinal submodel

timeVar

The name of the column of time in data.id. This variable must appears in data.id

Value

A list with the following components

Xtime

a matrix of fixed effects at each time of measure

Utime

a matrix of random effects at each time of measure


FlexVarJM documentation built on Nov. 21, 2023, 1:06 a.m.