make.short.format {stpm}R Documentation

An internal function which construct short data format from a given long

Description

An internal function which construct short data format from a given long

Usage

make.short.format(
  x,
  col.id = 1,
  col.status = 2,
  col.t1 = 3,
  col.t2 = 4,
  col.cov = 5
)

Arguments

x

Dataset

col.id

Column ID index

col.status

Column status index

col.t1

Column t1 index

col.t2

Column t2 index

col.cov

Column covariates indices

Value

column index(es) in the provided dataset


[Package stpm version 1.7.12 Index]