Learn R Programming

eha (version 2.4-4)

weibreg.fit: Weibull regression

Description

This function is called by weibreg, but it can also be directly called by a user.

Usage

weibreg.fit(X, Y, strata, offset, init, shape, control, center = TRUE)

Arguments

X
The design (covariate) matrix.
Y
A survival object, the response.
strata
A stratum variable.
offset
Offset.
init
Initial regression parameter values.
shape
If positive, a fixed value of the shape parameter in the Weibull distribution. Otherwise, the shape is estimated.
control
Controls convergence and output.
center
Should covariates be centered?

Value

Details

See weibreg for more detail.

See Also

weibreg