print.wald.tab {asremlPlus}R Documentation

Prints a data.frame containing a Wald or pseudoanova table.

Description

Prints a wald.tab with or without title and/or heading. The printing of the p-values is limited to 4 digits.

Usage

## S3 method for class 'wald.tab'
print(x, which.wald = c("title", "heading", "table"), 
      colourise = FALSE, ...)

Arguments

x

An object that, ideally, is of class wald.tab.

which.wald

Which elements of the wald.tab to print. Possible values are some combination of title, heading, table and all. The heading is an attribute of x.

colourise

A logical which, if TRUE, results in the header text produced by wald.asreml being displayed in a different colour, if supported by the output terminal device. It overrides the TRUE setting of the colourise argument of asreml::asreml.options.

...

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

Value

No value is returned, but x is printed as specified in which.wald.

Author(s)

Chris Brien

See Also

print.test.summary, 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$wald.tab)

## End(Not run)

[Package asremlPlus version 4.2-32 Index]