getDesign-methods: Extract a Design

Description Usage Arguments Value Note See Also Examples

Description

Methods to extract a design data frame from an object.

Usage

1
2
## S4 method for signature 'planordesign'
getDesign( object  )

Arguments

object

object of the class.

Value

A data frame which contains the design.

Note

Applied on a planordesign object, it is the same as function as.data.frame, without returning any attributes.

See Also

Class where this method applies: planordesign.

Examples

1
2
3
4
5
6
7
### Creation of a planordesign object
K0 <- planor.designkey(factors=c("R","C","U","A","B1","B2"),
   nlevels=c(3,2,2,3,2,2), model=~R*C + (A+B1+B2)^2, estimate=~A:B1+A:B2,
   nunits=12, base=~R+C+U, max.sol=2)
P0 <- planor.design(key=K0, select=1)
### Method getDesign on the planordesign object
show(getDesign(P0))

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