lifedata: Create lifedata Object.

Description Usage Arguments Value Examples

View source: R/lifedata.R

Description

Create lifedata Object.

Usage

1
lifedata(time, status, units = NULL)

Arguments

time

numerical vector indicating time-to-event

status

numerical vector indicating status. 0 for right censored. 1 for failure event.

units

optional character to denote units of time

Value

a lifedata object

Examples

1
lifedata(c(90.7, 114.8, 12.0, 144.35, 199.8), c(0,1,1,1,0), 'hours')

lxy009/weibullpp documentation built on May 21, 2019, 9:16 a.m.