plotDistributions: plot latent distribution

Description Usage Arguments Author(s) Examples

Description

creates latent distribution plots of two distributions on the same metric (e.g. persons and items)

Usage

1
plotDistributions ( distr1 , distr2 , distr1.name = "Persons" , distr2.name = "Items" , pdf = NULL , title = NULL , scale.unit = "Logit" , distr1.color = "#E69F00" , distr2.color = "#56B4E9" , alpha = 0.5 )

Arguments

distr1

numeric vector of person estimates

distr2

numeric vector of item estimates

distr1.name

name of distribution 1 (e.g. "Persons")

distr2.name

name of distribution 2 (e.g. "Items")

pdf

pdf output file

title

title for graph

scale.unit

name of units

distr1.color

color of distribution 1

distr2.color

color of distribution 2

alpha

controls transparency of graph, see geom_density

Author(s)

Martin Hecht

Examples

1
2
3
4
5
6
7
## Not run: 
persons <- rnorm ( 5000 )
items <- rnorm ( 200 ) + 1

plotDistributions ( persons , items )

## End(Not run)

eatRest documentation built on May 2, 2019, 6:25 p.m.