add_time_function_vars: Creates linear time-function variables

Description Usage Arguments Details

Description

Given variable-specific slopes and intercepts for a cluster, creates continuous variables that increase or decrease linearly in time (with normal error with standard deviation error.SD) and adds them to the dataframe.

Usage

1
add_time_function_vars(d4, obs, parameters)

Arguments

d4

The dataframe to which to add the time-function variables.

obs

The number of observations per cluster.

parameters

The parameters matrix.

Details

See make_one_dataset for additional information.


SimTimeVar documentation built on May 2, 2019, 8:31 a.m.