confInt.boxcoxfr {AID} | R Documentation |
confInt.boxcoxfr
calculates mean and asymmetric confidence interval for back transformed data in each group and plots their error bars with confidence intervals.
## S3 method for class 'boxcoxfr'
confInt(x, level = 0.95, plot = TRUE, xlab = NULL, ylab = NULL, title = NULL,
width = NULL, verbose = TRUE, ...)
x |
a |
level |
the confidence level. |
plot |
a logical to plot error bars with confidence intervals. |
xlab |
a label for the x axis, defaults to a description of x. |
ylab |
a label for the y axis, defaults to a description of y. |
title |
a main title for the plot. |
width |
a numeric giving the width of the little lines at the tops and bottoms of the error bars (defaults to 0.15). |
verbose |
a logical for printing output to R console. |
... |
additional argument(s) for methods. |
Confidence interval in each group is constructed separately.
A matrix with columns giving mean, lower and upper confidence limits for back transformed data. These will be labelled as (1 - level)/2 and 1 - (1 - level)/2 in % (by default 2.5% and 97.5%).
Osman Dag
library(AID)
data(AADT)
attach(AADT)
out <- boxcoxfr(aadt, class)
confInt(out, level = 0.95)