rweireg: Random Weibull

Description Usage Arguments Value

View source: R/randvar.R

Description

Retrieves random variate from weibull model.

Usage

1
rweireg(n, b, x, s)

Arguments

n

The number of variates to sample.

b

A vector of weibull regression coefficients.

x

A vector of covariate values.

s

Shape parameter.

Value

A vector of times to event.


austinnam/modeltools documentation built on Aug. 3, 2019, 7:20 p.m.