updateDesign: update an object of class "design"

Description Usage Arguments Value Warning Author(s) See Also Examples

Description

This function can be used to update a design. This might be useful to compute descriptives on a previously created design object.

Usage

1
updateDesign ( dsgn = new("design") , descriptives = TRUE , verbose = FALSE )

Arguments

dsgn

Object of class "design"

descriptives

logical, compute descriptives (can be time consuming)

verbose

logical, print information while processing

Value

returns an object of class "design"

Warning

This version is beta. Use with care.

Author(s)

Martin Hecht

See Also

defineDesign design-class

Examples

1
2
3
4
5
6
7
8
9
# Table 7 (Frey, 2009)
table7 <- data.frame ( "Booklet" = c(1,1,2,2,3,3) , "Position" = c(1,2,1,2,1,2) ,
"Cluster" = c(1,2,2,3,3,1) )

# use table7 as the definition of the design
design7 <- defineDesign ( def = table7 )

# compute descriptives
( design7 <- updateDesign ( dsgn = design7 , descriptives = TRUE ) )

eatDesign documentation built on May 2, 2019, 6:15 p.m.