Description Usage Arguments Value
Cross-validated observed-data log-likelihood for B-spline coefficients
1 2 3 4 5 6 7 8 9 10 11 12 13 |
interp |
Indicator of whether the B-spline coefficients in the testing data should be linearly interpolated from the trained model. Defaults to |
seed |
(Optional) For reproducibility in assigning the folds, an integer to specify the random number generator. Default is |
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 |
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 |
nfolds |
Specifies the number of cross-validation folds. The default value is |
avg_pred_loglik |
Stores the average predicted log likelihood. |
pred_loglik |
Stores the predicted log likelihoood in each fold. |
converged |
Stores the convergence status of the EM algorithm in each run. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.