prepare_data_cont: Prepares continuouts-time dataset.

View source: R/prepare_data.R

prepare_data_contR Documentation

Prepares continuouts-time dataset.

Description

Prepares continuouts-time dataset.

Usage

prepare_data_cont(
  merged.data,
  col.status.ind,
  col.id.ind,
  col.age.ind,
  col.age.event.ind,
  col.covar.ind,
  verbose,
  dt
)

Arguments

merged.data

a longitudinal study dataset.

col.status.ind

index of "status" column.

col.id.ind

subject id column index.

col.age.ind

index of the age column.

col.age.event.ind

an index of the column which represents the time in which event occured.

col.covar.ind

a set of column indexes which represent covariates.

verbose

turns on/off verbosing output.

dt

interval between observations.


izhbannikov/spm documentation built on Sept. 10, 2022, 12:15 p.m.