survmod: Survival Model Choice

Description Usage Arguments Details Value Author(s) Examples

View source: R/survmod.R

Description

Select and Compute Survival Model (Description)

Usage

1
survmod(x, frmla, dtst)

Arguments

x

input for choice of model

frmla

model formula as string

dtst

dataset for model

Details

The user inputs which model is chosen with the x parameter. Then, the user provides the model formula and dataset. A model is then created with those specifications (Details)

Value

a survival model with inputted specifications

Author(s)

c(Brian LaBarre, Silvia Jakubski)

Examples

1
survmod(1,"Surv(time,status)~1",rats)

labarreb/FinalProject documentation built on May 3, 2019, 1:34 p.m.