create_new_dataset: create new dataset while keeping cox regression results and...

Description Usage Arguments Value Examples

View source: R/help_parameter_estimation_survival.R

Description

create new dataset while keeping cox regression results and returned coefficients

Usage

1
create_new_dataset(var, covar, dataset, categorical)

Arguments

var

variable for which the levels have to be identified usually indep variable

covar

the other covariates

dataset

the dataset where these variables contain

categorical

are these variables categorical? True of false

Value

new data frame

Examples

1
2
dataset <- survival::lung
new = create_new_dataset("status", c("age"), dataset, c(FALSE))

packDAMipd documentation built on March 3, 2021, 5:07 p.m.