pers.hist: Create a histogram of person estimates.

Description Usage Arguments Value

Description

Create a histogram of person estimates.

Usage

1
2
pers.hist(results, dim = NULL, palette = "BASS", normal = FALSE,
  writeout = FALSE, imageType = "pdf", fileSuffix = NULL, ...)

Arguments

results

The output from a run of craschR. (link?)

dim

A numeric vector that specifies for which dimension(s) to create graphic/tables. If NULL, output and graphics for each dimension will be produced.

palette

The color scheme for the histogram. Can be "BASS or any RColorBrewer palette name (the first 2 colors of the 3-color palette will be used). Can also specify a vector with 2 colors in any R-supported form; the first color is for the bars and the second is for the normal curve.

normal

A logical incating whether to include the normal curve overlaid on the plot. The estimated mean and variance define the curve.

writeout

A logical indicating whether the graph should be written to your working directory as your indicated imageType. If TRUE, the file name will begin pershist and will include an index (if more than one graph is produced) and the fileSuffix if provided.

imageType

A character string indicating the format for graphics (if writeout = TRUE). Supported types: c("pdf","svg","jpeg","bmp","tiff","png").

fileSuffix

A character string that will be affixed to the end of each file name (if writeout = TRUE). Use this if you are conducting multiple analyses in the same working directory and do not wish for your existing files to be overwritten.

...

Additional arguments to be passed to hist function.

Value

Plots one histogram for each dimension.


amyarneson/crasch documentation built on May 10, 2019, 10:29 a.m.