Learn R Programming

reda (version 0.2.1)

baseRate: Estimated Coefficients of Baseline Rate Function

Description

An S4 class generic function that returns the estimated coefficients of baseline rate function. For rateReg-class object, it returns either coefficients of pieceswise (including one piece) constant rate function or coefficients of B-spline bases.

Usage

baseRate(object, ...)
"baseRate"(object, ...)

Arguments

object
An object used to dispatch a method.
...
Other arguments for future usage.

Value

A named numeric vector.

Methods (by class)

  • rateReg: Extract estiamted coefficients of baseline rate function from rateReg-class object.

See Also

rateReg for model fitting; summary,rateReg-method for summary of a fitted model.

Examples

Run this code
## See examples given in function rateReg.

Run the code above in your browser using DataLab