View source: R/projoint_data.R
| projoint_data | R Documentation |
Internal constructor for projoint_data objects.
Used by reshape_projoint and make_projoint_data to
bundle conjoint survey labels and response data into a consistent structure.
projoint_data(labels, data)
labels |
A data frame of conjoint attribute–level metadata. Must include
attribute names, attribute IDs (e.g., |
data |
A data frame (typically a tibble) containing the reshaped conjoint
survey responses, one row per respondent–task–profile, with attribute columns,
|
A list of length two with class "projoint_data", containing:
$labels: attribute–level mapping
$data: respondent–task–profile dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.