ctsem (version 3.3.11)

ctStanFitUpdate: Update a ctStanFit object

Description

Either to include different data, or because you have upgraded ctsem and the internal data structure has changed.

Usage

ctStanFitUpdate(oldfit, data = NA, recompile = FALSE, ...)

Arguments

oldfit

fit object to be upgraded

data

replacement long format data object

recompile

whether to force a recompile -- safer but slower and usually unnecessary.

...

extra arguments to pass to ctStanFit

Value

updated ctStanFit object.

Examples

Run this code
# NOT RUN {
if(w32chk()){
newfit <- ctStanFitUpdate(ctstantestfit)
}

# }

Run the code above in your browser using DataLab