Learn R Programming

rdss (version 1.0.14)

conjoint_measurement: Conjoint experiment assignment handler: conducts complete random assignment of all attribute levels

Description

See https://book.declaredesign.org/experimental-descriptive.html#conjoint-experiments

Usage

conjoint_measurement(data, utility_fn)

Value

a data.frame

Arguments

data

A data.frame

utility_fn

a function that takes data and returns an additional column called U, which represents the utility of the choice