Description Usage Arguments Examples
View source: R/Visualization.R
Creates marginal random utility density plots for each alternatives given an Estimation object for a PL or Nonparameteric model
1 2 |
RUM |
choice of Exponential, Gumbel, or Nonparametric |
Estimate |
fitted RUM object |
min |
minimum x value to display |
max |
maximum x value to display |
ncol |
number of columns in the visualization |
names |
names of alternatives |
1 2 3 4 5 | library(ggplot2)
library(gridExtra)
Data.Tiny <- matrix(c(1, 2, 3, 3, 2, 1, 1, 2, 3), ncol = 3, byrow = TRUE)
Estimate <- Estimation.PL.GMM(Breaking(Data.Tiny, method = "full"), m = 3)
Visualization.RUMplots("Exponential", Estimate, names = 1:3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.