Learn R Programming

asremlPlus (version 4.4.46)

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", "false.pos", "false.neg"), ...)

Value

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

Arguments

x

An object that, ideally, is of class LSDdata.

which.print

Which components of the LSDdata list to print. Possible values are any combination of frequencies, distinct.vals, statistics, accuracy, false.pos, false.neg, per.pred.accuracy, LSD, summary and all, except that summary and all cannot occur together. For a description of the components, see alldiffs.object. The default is to print statistics, false.pos, false.neg. The option summary results in the printing of distinct.vals, statistics, false.pos, false.neg.

...

further arguments passed to print.

Author

Chris Brien

See Also

exploreLSDs.alldiffs, alldiffs.object

Examples

Run this code
if (FALSE) {
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