Usage
## S3 method for class 'ref.grid':
summary(object, infer, level, adjust, by, type, df,
null = 0, delta = 0, side = 0, ...)
## S3 method for class 'ref.grid':
predict(object, type, ...)
## S3 method for class 'ref.grid':
str(object, ...)
## S3 method for class 'ref.grid':
print(x, ...)
## S3 method for class 'summary.ref.grid':
print(x, ..., digits = NULL, quote = FALSE, right = TRUE)
## S3 method for class 'lsmobj':
plot(x, y, type, intervals = TRUE, comparisons = FALSE,
alpha = 0.05, adjust = "tukey", int.adjust = "none", ...)
## S3 method for class 'summary.ref.grid':
plot(x, y, horizontal = TRUE,
xlab, ylab, layout, ...)
## S3 method for class 'ref.grid':
vcov(object, ...)
regrid (object, transform = TRUE)
## S3 method for class 'ref.grid':
as.mcmc(x, names = TRUE, ...)
Arguments
object
An object of class "ref.grid"
.
infer
A vector of two logical values. The first determines whether confidence intervals are displayed, and the second determines whether t tests and P values are displayed. If only one value is provided, it is used for both.
level
Confidence level for confidence intervals, if infer[1]
is TRUE
.
adjust
Character value naming the method used to adjust $p$ values or confidence limits; or to adjust comparison arrows in plot
. See Details.
by
Character name(s) of variables to use for grouping. This affects the family of tests considered in adjusted P values. The printed display of the summary is grouped by the by
variables.
type
Type of prediction desired. This only has an effect if there is a known transformation or link function. "response"
specifies that the inverse transformation be applied. Other valid values are "link"
, "lp"
, and
df
If non-missing a constant number of degrees of freedom to use in constructing confidence intervals and P values (NA
specifies asymptotic results).
null
Null hypothesis value(s) against which estimates are tested. May be a single value used for all, or a numeric vector of length equal to the number of tests in each family (i.e., by
group in the displayed table).
delta
Numeric value. If zero, ordinary tests of significance are performed. If positive, this specifies a threshold for testing equivalence (using the TOST or two-one-sided-test method), non-inferiority, or non-superiority, depending on side
. See D
side
Numeric or character value specifying whether the test is left-tailed (-1
, "-"
, code{"<"}, "left", or "nonsuperiority"
); right-tailed (1
, "+"
, ">"
, "right"
"},>
x
The object to be printed, plotted, or converted.
y
This argument is ignored.
horizontal
Determines orientation of plotted confidence intervals.
intervals
If TRUE
, confidence intervals are plotted for each estimate
comparisons
If TRUE
, comparison arrows are added to the plot, in such a way that the degree to which arrows overlap reflects as much as possible the significance of the comparison of the two estimates.
alpha, int.adjust
The alpha
argument to use in constructing comparison arrows. int.adjust
may be used to set the adjust
argument for the confidence intervals (use adjust
to set the adjust method for the comparison arrows)
transform
Logical value; if true, the inverse transformation is applied to the estimates in the grid
names
Logical scalar or vector specifying whether variable names are appended to levels in the column labels for the as.mcmc
result -- e.g., column names of treat A
and treat B
versus just A
and B
..., digits, quote, right, xlab, ylab, layout