Learn R Programming

asremlPlus (version 2.0-2)

print.asrtests: Prints the values in an asrtests object

Description

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

Usage

## S3 method for class 'asrtests':
print(x, which = "all", ...)

Arguments

x
An asrtests object.
which
Which elements of the asrtests object to print. Possible values are some combination of asremlsummary, pseudoanova, testsummary and
...
further arguments passed to print.

Value

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

See Also

asrtests, asremlPlus-package

Examples

Run this code
data(Wheat.dat)
current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety, 
                      random = ~ Row + Column + units,
                      rcov = ~ ar1(Row):ar1(Column), 
                      data=Wheat.dat)
current.asrt <- asrtests(current.asr, NULL, NULL)
current.asrt <- rmboundary.asrtests(current.asrt)
# Test Row autocorrelation
current.asrt <- testrcov.asrtests("~ Row:ar1(Column)", current.asrt, 
                                  label="Row autocorrelation", simpler=TRUE)
print(current.asrt)

Run the code above in your browser using DataLab