| baseline | R Documentation |
Estimated baseline function
baseline(object, ...)
## S3 method for class 'pcdfit'
baseline(object, ...)
object |
A fitted |
... |
Ignored. |
A tibble with one row per examination time on the
pooled grid.
For pcdreg() it gives the jump sizes and the cumulative baseline rate
\Lambda(t); for pcdreg() it gives the baseline mean
\mu(t), which is not constrained to increase.
set.seed(1)
d <- sim_pcd(80, beta = c(1, -1), lambda = function(t) 8 / (1 + t))
head(baseline(pcdreg(pcd(id, tstart, tstop, count) ~ x1 + x2, d)))
head(baseline(pcdreg(pcd(id, tstart, tstop, count) ~ x1 + x2, d, model = "mean")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.