Description Usage Arguments Value Examples
View source: R/Visualization.R
Multitype Random Utility visualizer
1 | Visualization.MultiType(multitype.output, min, max, names, ncol)
|
multitype.output |
output from a multitype fitter |
min |
left boundary of graphed x-axis |
max |
right boundary of graphed x-axis |
names |
names of alternatives |
ncol |
number of columns in final output |
none
1 2 3 4 5 6 7 | library(ggplot2)
library(gridExtra)
Data.Tiny <- matrix(c(1, 2, 3, 3, 2, 1, 1, 2, 3), ncol = 3, byrow = TRUE)
multitype.output <- Estimation.RUM.MultiType.MLE(Data.Tiny, iter = 1, dist = "norm", ratio = .5)
names <- 1:3
#run the following code to make plots
#plots <- Visualization.MultiType(multitype.output, -2, 2, names, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.