predict.conjoint | R Documentation |
Predict method for the conjoint function
## S3 method for class 'conjoint'
predict(
object,
pred_data = NULL,
pred_cmd = "",
conf_lev = 0.95,
se = FALSE,
interval = "confidence",
dec = 3,
envir = parent.frame(),
...
)
object |
Return value from |
pred_data |
Provide the dataframe to generate predictions. The dataset must contain all columns used in the estimation |
pred_cmd |
Command used to generate data for prediction |
conf_lev |
Confidence level used to estimate confidence intervals (.95 is the default) |
se |
Logical that indicates if prediction standard errors should be calculated (default = FALSE) |
interval |
Type of interval calculation ("confidence" or "prediction"). Set to "none" if se is FALSE |
dec |
Number of decimals to show |
envir |
Environment to extract data from |
... |
further arguments passed to or from other methods |
See https://radiant-rstats.github.io/docs/multivariate/conjoint.html for an example in Radiant
conjoint
to generate the result
summary.conjoint
to summarize results
plot.conjoint
to plot results
result <- conjoint(mp3, rvar = "Rating", evar = "Memory:Shape")
predict(result, pred_data = mp3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.