Visualization.MultiType: Multitype Random Utility visualizer

Description Usage Arguments Value Examples

View source: R/Visualization.R

Description

Multitype Random Utility visualizer

Usage

1
Visualization.MultiType(multitype.output, min, max, names, ncol)

Arguments

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

Value

none

Examples

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)

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