ctStanFitUpdate | R Documentation |
Either to include different data, or because you have upgraded ctsem and the internal data structure has changed.
ctStanFitUpdate(oldfit, data = NA, recompile = FALSE, refit = FALSE, ...)
oldfit |
fit object to be upgraded |
data |
replacement long format data object |
recompile |
whether to force a recompile – safer but slower and usually unnecessary. |
refit |
if TRUE, refits the model using the old estimates as a starting point. Only applicable for optimized fits, not sampling. |
... |
extra arguments to pass to ctStanFit |
updated ctStanFit object.
newfit <- ctStanFitUpdate(ctstantestfit,refit=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.