Learn R Programming

asremlPlus (version 4.2-32)

print.test.summary: 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 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.

See Also

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

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab