Learn R Programming

ExpertChoice (version 0.2.0)

full_factorial: Full Factorial Design

Description

Generates the full factorial design with all the factors coded using standardised orthogonal contrast coding.

Usage

full_factorial(attributes_list)

Arguments

attributes_list

A named list: giving the variable name and the levels as characters. The levels should start from the base of either "0" or "1" and go up in integer values.

Value

a `data.frame` with the full factorial design and factors coded using standardised orthogonal contrast coding.

References

Kuhfeld, W. F. Marketing Research Methods in SAS Experimental Design, Choice, Conjoint, and Graphical Techniques 2010.

J<U+00F6>rg Suckut (https://stats.stackexchange.com/users/237455/j

Examples

Run this code
# NOT RUN {
# See step 1 of the Practical Introduction to ExpertChoice vignette.
attrshort  = list(condition = c("0", "1", "2"),
technical =c("0", "1", "2"),
provenance = c("0", "1"))
full_factorial(attrshort)
# }

Run the code above in your browser using DataLab