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 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.

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)

[Package asremlPlus version 4.4.27 Index]