View source: R/pstructure.v4.r
print.aliasing | R Documentation |
Prints an aliasing data.frame
.
## S3 method for class 'aliasing'
print(x, which.criteria = c("aefficiency","eefficiency","order"), ...)
x |
The |
which.criteria |
A character |
... |
Further arguments passed to the |
Chris Brien
print
, print.default
, show
.
## Generate a data.frame with 3 factors length 12
pseudo.lay <- data.frame(pl = factor(1:12),
ab = factor(rep(1:4, times=3)),
a = factor(rep(1:2, times=6)))
## create a pstructure object
trt.struct <- pstructure(~ ab+a, data = pseudo.lay)
## print the object either using the Method function, the generic function or show
print.aliasing(trt.struct$aliasing)
print(trt.struct$aliasing, which.criteria = "none")
trt.struct$aliasing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.