as_ped: Function to check if an object is of class 'ped' or transform...

Description Usage Arguments Value

Description

Function to check if an object is of class ped or transform data into piece-wise exponential data (PED) format if possible.

Usage

1
2
3
as_ped(x, data, tdc_df = NULL, ...)

is.ped(x)

Arguments

x

any R object.

data

a data frame

tdc_df

A data set containing information on time-dependent covariates (TDC).

...

Further arguments passed to methods.

Value

A data frame class ped in piece-wise exponential data (PED) format.


adibender/pamm documentation built on May 14, 2019, 5:22 p.m.