Visualization.RUMplots: RUMplot visualization

Description Usage Arguments Examples

View source: R/Visualization.R

Description

Creates marginal random utility density plots for each alternatives given an Estimation object for a PL or Nonparameteric model

Usage

1
2
Visualization.RUMplots(RUM = "Exponential", Estimate = NA, min = -5,
  max = 5, ncol = 5, names = NA)

Arguments

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

Examples

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)

StatRank documentation built on May 1, 2019, 8:22 p.m.