Nothing
crimCV <-
function (Dat, ng, dpolyp = 3, dpolyl = 3, model = "ZIPt", rcv = FALSE,
init = 20, Risk = NULL)
{
no <- ncol(Dat)
oyr <- 0:(no - 1)/(no - 1)
if (model == "ZIPt") {
X <- bs(oyr, degree = dpolyp, intercept = TRUE)
out <- dmZIPt(Dat, X, ng, rcv, init, Risk)
return(out)
}
else if (model == "ZIP") {
X <- bs(oyr, degree = dpolyp, intercept = TRUE)
Z <- bs(oyr, degree = dpolyl, intercept = TRUE)
out <- dmZIP(Dat, X, Z, ng, rcv, init, Risk)
return(out)
}
else {
stop("crimCV: The model specified is not currently supported!")
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.