print.asrtests: Prints the values in an 'asrtests.object'

print.asrtestsR Documentation

Prints the values in an asrtests.object

Description

Prints a summary of the asreml object, the pseudoanova and the test.summary data.frame that are stored in the asrtests.object.

Usage

## S3 method for class 'asrtests'
print(x, which = "key", colourise = FALSE, ...)

Arguments

x

An asrtests.object.

which

Which elements of the asrtests.object to print. Possible values are some combination of asremlsummary, vparametersummary, pseudoanova, wald.tab, testsummary and key or all. The option wald.tab is a synonym for pseudoanova. The options key and all are mutually exclusive; key includes vparametersummary, but not the rest of asremlsummary, while all includes the full asremlsummary that includes the vparametersummary.

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.

Value

No value is returned, but the elements of the list in x are printed.

Author(s)

Chris Brien

See Also

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

## End(Not run)

asremlPlus documentation built on Oct. 27, 2024, 5:06 p.m.