baseRate: Estimated Baseline Rate Function

Description Usage Arguments Value Methods (by class) See Also Examples

Description

An S4 class generic function that returns the estimated baseline rate function.

Usage

1
2
3
4
baseRate(object, ...)

## S4 method for signature 'rateReg'
baseRate(object, level = 0.95, control = list(), ...)

Arguments

object

An object used to dispatch a method.

...

Other arguments for future usage.

level

An optional numeric value indicating the confidence level required. The default value is 0.95.

control

An optional list to specify the time grid where the baseline rate function is estimated. The availble elements of the control list include grid, length.out, from and to. The time grid can be directly specified via element grid. A dense time grid is suggested. Element length.out represents the length of grid points. The dafault value is 1,000. Element from means the starting point of grid with default 0. Element to represnts the endpoint of grid with the right boundary knot as default. When grid is missing, the grid will be generated by seq (from package base) with arguments from, to and length.out.

Value

A baseRate object.

Methods (by class)

  • rateReg: Estiamted baseline rate from a fitted model.

See Also

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

Examples

1
## See examples given in function rateReg.


Search within the reda package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.