Output type | Class | secrfit |
c("fittedmodels", "secrdesign", "list") | ipsecrfit | c("fittedmodels", "secrdesign", "list") |
predicted | c("estimatetables", "secrdesign", "list") | derived |
c("estimatetables", "secrdesign", "list") | regionN | c("estimatetables", "secrdesign", "list") |
coef | c("estimatetables", "secrdesign", "list") | user |
c("estimatetables", "secrdesign", "list") | secrsummary | c("summary", "secrdesign", "list") |
capthist | c("rawdata", "secrdesign", "list") | selectedstatistics |
Calling the replacement function automatically changes the class of the output object as appropriate. This determines how the output is handled by downstream functions such as summary
. Using a custom extractfn or post-processing the output sometimes requires the outputtype to be set manually (see example in the Multi-model section of secrdesign-vignette.pdf).