Description Usage Arguments Value Examples
R function to estimate n illness-death models for leave-one-out data
1 |
object |
an illness-death model estimate from SmoothHazard package |
data |
data.frame used to estimate object |
parallel |
Logical determinating parallel (=TRUE) or sequential (=FALSE) execution |
cpus |
Numerical amount of CPUs requested for the cluster. If not set, values are total cores of the machines-1. |
type |
Type of cluster. Can be 'SOCK', 'MPI', 'PVM' or 'NWS'. Default is 'SOCK' if parallel=TRUE. |
... |
others parameters |
a list of length N+1 with one indice for leave-one-out of the data and the last the original estimate of object
1 2 3 4 5 6 7 | data("Paq1000")
fit.splines <- idm(formula02=Hist(time=t,event=death)~1,
formula01=Hist(time=list(l,r),event=dementia)~1,
formula12=Hist(time=t,event=death)~1,
method="Splines", kappa=c(200000,200000,20000),
data=Paq1000)
fit.loo.sp=idmloo(object=fit.splines, data=Paq1000, parallel = FALSE, cpus = NULL, type = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.