Learn R Programming

marg (version 1.2-2.1)

print.summary.marg: Use print() on a ``summary.marg'' object

Description

This is a method for the function print() for objects of class summary.marg. See print and print.default for the general behaviour of this function and for the interpretation of digits.

Usage

# S3 method for summary.marg
print(x, all = x$all, Coef = x$cf, int = x$int, test = x$hyp,
      digits = if(!is.null(x$digits)) x$digits else max(3, getOption("digits")-3),
      …)
# S3 method for summary.marg
print(x, all, Coef, int, test, digits, …)

Arguments

x

a summary.marg object. This is assumed to be the result returned by the summary.marg function.

all

if TRUE all the information stored in the summary.marg object is printed, else only a subset of it. The default is FALSE.

Coef

if TRUE all parameter estimates are printed. The default is TRUE.

int

if TRUE confidence intervals are printed. The default is TRUE.

test

if TRUE test statistics and tail probabilities are printed. The default is FALSE.

digits

the number of significant digits to be printed. The default depends on the value of digits set by options.

additional arguments.

Details

Changing the default values of all, Coef, int and test allows only a subset of the information in the summary.marg object to be printed. With all = FALSE, one-sided confidence intervals and the Lugannani-Rice tail area approximation are omitted. See summary.marg for more details.

See Also

summary.marg, marg.object

Examples

Run this code
# NOT RUN {
## House Price Data
data(houses)
houses.rsm <- rsm(price ~ ., family = student(5), data = houses)
houses.cond <- cond(houses.rsm, front)
print(summary(houses.cond), digits = 4)
print(summary(houses.cond), Coef = FALSE)
# }

Run the code above in your browser using DataLab