print.LSDdata {asremlPlus} | R Documentation |
Prints the components of a list containing data on the LSDs for all pairwise differences of predictions.
Description
Prints the components of an LSDdata
list
created by exploreLSDs
,
that contains data on the LSDs for all pairwise differences of predictions stored in an
alldiffs.object
.
Usage
## S3 method for class 'LSDdata'
print(x, which.print = c("statistics", "false.pos", "false.neg"), ...)
Arguments
x |
An object that, ideally, is of class |
which.print |
Which components of the |
... |
further arguments passed to |
Value
No value is returned, but components of x
are printed as specified in which.print
.
Author(s)
Chris Brien
See Also
exploreLSDs.alldiffs
, alldiffs.object
Examples
## Not run:
data(WaterRunoff.dat)
asreml.options(keep.order = TRUE) #required for asreml-R4 only
current.asr <- asreml(fixed = pH ~ Benches + (Sources * (Type + Species)),
random = ~ Benches:MainPlots,
keep.order=TRUE, data= WaterRunoff.dat)
current.asrt <- as.asrtests(current.asr, NULL, NULL)
diffs <- predictPlus(classify = "Sources:Type",
asreml.obj = current.asr,
wald.tab = current.asrt$wald.tab,
present = c("Sources", "Type", "Species"))
LSDdata <- exploreLSDs(diffs, LSDtype = "factor.combinations", LSDby = "Sources")
print(LSDdata)
## End(Not run)