powered by
Either to include different data, or because you have upgraded ctsem and the internal data structure has changed.
ctStanFitUpdate(oldfit, data = NA, recompile = FALSE, ...)
fit object to be upgraded
replacement long format data object
whether to force a recompile -- safer but slower and usually unnecessary.
extra arguments to pass to ctStanFit
updated ctStanFit object.
# NOT RUN { if(w32chk()){ newfit <- ctStanFitUpdate(ctstantestfit) } # }
Run the code above in your browser using DataLab