dae (version 3.0-32)

print.pstructure: Prints a pstructure.object

Description

Prints a pstructure.object, which is of class pstructure. The df, terms and sources are coerced into a data.frame and printed; the marginality matrix is printed separately.

Usage

# S3 method for pstructure
print(x, which.criteria = c("aefficiency","eefficiency","order"), ...)

Arguments

x

The pstructure.object, which is of class pstructure and is to be printed.

which.criteria

A character vector nominating the efficiency criteria to be included in the summary of aliasing between terms. It can be none, all or some combination of aefficiency, mefficiency, sefficiency, eefficiency, xefficiency, order and dforthog -- for details see efficiency.criteria. If none, no criteria are printed.

...

Further arguments passed to or from other methods.

See Also

print, print.default, show.

Examples

Run this code
# NOT RUN {
## Generate a data.frame with 4 factors, each with three levels, in standard order
ABCD.lay <- fac.gen(list(A = 3, B = 3, C = 3, D = 3))

## create a pstructure object based on the formula ((A*B)/C)*D
ABCD.struct <- pstructure.formula(~ ((A*B)/C)*D, data =ABCD.lay)

## print the object either using the Method function, the generic function or show
print.pstructure(ABCD.struct)
print(ABCD.struct)
ABCD.struct
# }

Run the code above in your browser using DataLab