Learn R Programming

asremlPlus (version 4.3-19)

print.LSDdata: 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 LSDdata
print(x, which.print = c("statistics", "accuracy"), ...)

Arguments

x

An object that, ideally, is of class LSDdata.

which.print

Which components of the LSDdata list to print. Possible values are some combination of frequencies, distinct.vals, statistics, accuracy, false.pos, false.neg, per.pred.accuracy, LSD, summary and all. Only one of summary and all is allowed. The option summary results in the printing of distinct.vals, statistics, false.pos, false.neg. For a description of these components, see alldiffs.object.

further arguments passed to print.

Value

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

See Also

exploreLSDs.alldiffs, alldiffs.object

Examples

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

Run the code above in your browser using DataLab