questionnaire: Converting a choice experiment design into a choice...

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

View source: R/questionnaire.R

Description

This function converts a choice experiment design created by the function Lma.design or rotation.design into choice experiment questions used in a questionnaire survey.

Usage

1
2
3
questionnaire(choice.experiment.design,
              common = NULL,
              quote = TRUE)

Arguments

choice.experiment.design

A data frame containing a choice experiment design created by the function Lma.design or rotation.design.

common

A vector containing a fixed combination of attribute-levels corresponding to a common base option in each question. If there is no common base option, the argument is set as NULL (default).

quote

A logical variable indicating whether or not the attribute-levels in each question are printed wth quotation marks.

Details

This function converts a choice experiment design created by the function Lma.design or rotation.design into choice experiment questions used in a questionnaire survey.

Value

Choice experiment questions converted from the choice experiment design are returned.

Author(s)

Hideo Aizaki

See Also

Lma.design, rotation.design

Examples

1
# See "Examples" for the function make.dataset.

Example output

Loading required package: DoE.base
Loading required package: grid
Loading required package: conf.design

Attaching package: 'DoE.base'

The following objects are masked from 'package:stats':

    aov, lm

The following object is masked from 'package:graphics':

    plot.design

The following object is masked from 'package:base':

    lengths

Loading required package: MASS
Loading required package: simex
Loading required package: RCurl
Loading required package: bitops
Loading required package: XML

support.CEs documentation built on Jan. 8, 2021, 5:35 p.m.