| regsen_boot-methods | R Documentation |
print() gives the point estimate and the interval regsen_boot()
reported. summary() adds the analysis bootstrapped, both interval
types, the BCa constants, the distribution of the replicates (their
standard deviation is the bootstrap standard error) and the counts of
failed and infinite replicates. plot() draws the replicates with the
point estimate and the interval marked. confint() returns the interval
as a matrix, recomputing it from the stored replicates when level or
type differ from those of the run.
## S3 method for class 'regsensitivity_boot'
print(x, ...)
## S3 method for class 'regsensitivity_boot'
summary(object, ...)
## S3 method for class 'summary.regsensitivity_boot'
print(x, ...)
## S3 method for class 'regsensitivity_boot'
confint(object, parm, level = object$level, type = object$type, ...)
## S3 method for class 'regsensitivity_boot'
plot(x, bins = 30, base_size = 11, ...)
x, object |
A |
... |
Ignored. |
parm |
Ignored; there is one parameter. |
level |
Confidence level. Defaults to the level of the run. |
type |
|
bins |
Number of histogram bins. |
base_size |
Base font size, passed to |
Every value is the magnitude of the breakdown point, as printed by
regsen_breakdown().
confint() returns a 1 x 2 matrix. summary() returns an
object of class summary.regsensitivity_boot. plot() returns a
ggplot object.
data(bfg2020)
f <- avgrep2000to2016 ~ tye_tfe890_500kNI_100_l6 + log_area_2010 + lat + lon
bb <- regsen_boot(f, bfg2020, compare = c("log_area_2010", "lat", "lon"),
R = 99, type = "perc", seed = 1)
bb
summary(bb)
confint(bb, level = 0.9)
plot(bb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.