An S4 class generic function that returns the estimated baseline rate function.
Usage
baseRate(object, ...)
# S4 method for class '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,fromandto. The time grid can be directly specified via elementgrid. A dense time grid is suggested. Elementlength.outrepresents the length of grid points. The dafault value is 1,000. Elementfrommeans the starting point of grid with default 0. Elementtorepresnts the endpoint of grid with the right boundary knot as default. Whengridis missing, the grid will be generated byseq(from package base) with argumentsfrom,toandlength.out.
See also
rateReg for model fitting;
summary,rateReg-method for summary of a fitted model;
plot,baseRate.rateReg-method for ploting method.