alias-methods: Summarize the Design Properties

Description Usage Arguments Details Value Examples

Description

Methods to summarize the design properties of an object containing key matrices. Display the design keys matrix(ces) and the factorial effects confounded with the mean.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'designkey'
alias(object, model, ...)

## S4 method for signature 'keymatrix'
alias(object, model, fact, block, ...)

## S4 method for signature 'listofdesignkeys'
alias(object, model, ...)

## S4 method for signature 'listofkeyrings'
alias(object, model, ...)

## S4 method for signature 'planordesign'
alias(object, model, fact, block, ...)

Arguments

object

an object of the class.

model

an optional model formula (by default the first model in object) or, when object is a keymatrix, a matrix representing factorial model terms.

fact

a character or numeric vector of parent factor names for the columns of object.

block

a logical vector to identify the columns of object associated with a block factor.

...

ignored.

Details

When object is a keymatrix, “alias” displays the key matrix and the factorial effects confounded with the mean. It prints the unaliased treatment effects, then the groups of aliased treatment effects, then the treatments effects confounded with block effects and finally the unaliased block effects, when considering all the factorial terms that are represented in the model argument, which is set if missing to the identity matrix (main effects only).

Value

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
### Creation of an object of class listofkeyrings
K0 <- planor.designkey(factors=c(LETTERS[1:4], "block"), nlevels=rep(3,5),
model=~block+(A+B+C+D)^2, estimate=~A+B+C+D,
nunits=3^3, base=~A+B+C, max.sol=2)
### alias on an object of class keymatrix
alias(K0[[1]][[1]])
### alias on an object of class designkey
alias(K0[1])
### alias on an object of class listofkeyrings
alias(K0)

planor documentation built on March 19, 2020, 1:06 a.m.