print.summary.cond: Use print() on a "summary.cond" object

Description Usage Arguments Details Note See Also Examples

View source: R/cond.R

Description

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

Usage

1
2
3
4
5
6
## S3 method for class 'summary.cond'
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 class 'summary.cond'
print(x, all, Coef, int, test, digits, ...)

Arguments

x

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

all

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

Coef

if TRUE, the unconditional and conditional parameter estimates are printed. The default is TRUE.

int

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

test

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

digits

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.cond object to be printed. With all = FALSE, one-sided confidence intervals and the Lugannani-Rice tail approximations are omitted. See summary.cond for more details.

Note

The amount of information printed may vary depending on whether there are any nuisance parameters.

See Also

summary.cond, cond.object, print.default

Examples

1
2
3
4
5
6
7
## Urine Data 
data(urine)
urine.glm <- glm(r ~ gravity + ph + osmo + conduct + urea + calc, 
                 family = binomial, data = urine)
urine.cond <- cond(urine.glm, urea)
print(summary(urine.cond, all = TRUE), digits = 4)
print(summary(urine.cond), Coef = FALSE)

cond documentation built on May 30, 2017, 4:38 a.m.