print.summary.pcanon: Prints the values in an 'summary.pcanon' object

View source: R/projs.canon.v5.r

print.summary.pcanonR Documentation

Prints the values in an summary.pcanon object

Description

Prints a summary.pcanon object, which is also a data.frame, in a pretty format.

Usage

## S3 method for class 'summary.pcanon'
print(x, aliasing.print = TRUE, ...)

Arguments

x

A summary.pcanon object.

aliasing.print

A logical indicating whether the aliasing between sources is to be printed. Ignored for legacy summary.pcanon objects resulting from versions prior to 3.0-0 and so using projs.canon

...

further arguments passed to print.

Value

No value is returned.

Author(s)

Chris Brien

See Also

summary.pcanon

Examples

## PBIBD(2) from p. 379 of Cochran and Cox (1957) Experimental Designs. 
## 2nd edn Wiley, New York
PBIBD2.unit <- list(Block = 6, Unit = 4)
PBIBD2.nest <- list(Unit = "Block")
trt <- factor(c(1,4,2,5, 2,5,3,6, 3,6,1,4, 4,1,5,2, 5,2,6,3, 6,3,4,1))
PBIBD2.lay <- designRandomize(allocated = trt, 
                              recipient = PBIBD2.unit, 
                              nested.recipients = PBIBD2.nest)

##obtain combined decomposition and summarize
unit.trt.canon <- designAnatomy(list(unit=~ Block/Unit, trt=~ trt),
                                data = PBIBD2.lay)
summ <- summary(unit.trt.canon, which = c("aeff","eeff","order"))
print(summ)

dae documentation built on June 22, 2024, 9:07 a.m.