print.test.summary {asremlPlus}R Documentation

Prints a data.frame containing a test.summary.

Description

Prints a test.summary (also a choose.summary) with or without a title and with p-values limited to 4-digits.

Usage

## S3 method for class 'test.summary'
print(x,  which.print = c("title", "table"), omit.columns = NULL, ...)

Arguments

x

A object that, ideally, is of class test.summary.

which.print

A character specifying the aspects of the test.summary to print. Possible values are some combination of title, table and all.

omit.columns

A character specifying the columns of the test.summary table to be omitted from the print. If NULL, none are omitted.

...

further arguments passed to print, but is only operational when the table is also printed.

Value

No value is returned, but x is printed, possibly with a title.

Author(s)

Chris Brien

See Also

print.wald.tab, print.asrtests, as.asrtests, asremlPlus-package

Examples

## Not run: 
data(Wheat.dat)
current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety, 
                      random = ~ Row + Column + units,
                      residual = ~ ar1(Row):ar1(Column), 
                      data=Wheat.dat)
current.asrt <- as.asrtests(current.asr, NULL, NULL)
current.asrt <- rmboundary.asrtests(current.asrt)
# Test Row autocorrelation
current.asrt <- testresidual(current.asrt, "~ Row:ar1(Column)", 
                             label="Row autocorrelation", simpler=TRUE)
print(current.asrt$test.summary)

## End(Not run)

[Package asremlPlus version 4.2-32 Index]