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