View source: R/generic-funcs-subtee-add.R
confint.subtee | R Documentation |
Computes confidence intervals for subtee objects. This allows the recalculation of confidence intervals at a desired levels without fitting the models again, which is particularly useful for the results of the bagged
function.
## S3 method for class 'subtee' confint(object, parm, level = 0.95, ...)
object |
An object of class |
parm |
Not used. |
level |
the confidence level required. Note that this is 1 - the significance level used in |
... |
Not used. |
An object of class subtee
plot.subtee
, summary.subtee
data(datnorm) cand.groups <- subbuild(datnorm, height, labvalue, region, smoker) fitd <- cbind(datnorm, cand.groups) subgr <- colnames(cand.groups) res <- modav(resp = "y", trt = "treat", subgr = subgr, data = fitd, covars = ~ x1 + x2, fitfunc = "lm") confint(res, level = 0.80)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.