Description Usage Arguments Value
Nonparametrically estimate the survival function using B-spline sieves
1 2 3 4 5 6 7 8 9 10 11 |
time |
Column name for follow-up time |
event |
Column name for event indicators |
covar |
(Optional) column name(s) for additional fully-observed covariates. Default is |
bspline |
Column names for B-spline basis. |
data |
Dataframe or matrix containing (at least) named columns |
logTransform |
If |
tol |
Tolerance to define convergence. Default is |
max_iter |
Maximum number of iterations allowed for the EM algorithm. Default is |
assume_last |
Assume last observed |
A list with the following five elements:
surv_uncensor |
subset of uncensored rows of |
coeff |
a matrix of the B-spline coefficients at convergence |
od_loglik |
value of the observed-data log-likelihood for the B-spline coefficients at convergence |
conv |
indicator of convergence for the EM algorithn |
conv_msg |
description of nonconvergence if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.