KIDMAP: Plots a KIDMAP for a given person and construct.

Description Usage Arguments Value

Description

Plots a KIDMAP for a given person and construct.

Usage

1
2
3
KIDMAP(results, personID, dim = NULL, probBounds = c(0.25, 0.75),
  palette = "BASS", writeout = FALSE, imageType = "pdf",
  fileSuffix = NULL)

Arguments

results

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

personID

A character or numeric vector indicating the index ID of the respondent for the plot. (Do not specify a row number, use the assigned ID.)

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.

probBounds

A vector containing the range of probabilities which are "unsurprising."

palette

The color scheme for the plot. Can be "BASS or any RColorBrewer palette name (the 3-color palette will be used). Can also specify a vector with 3 colors in any R-supported form; the first is the color of the "expected" area, the second the "surprise" area, and the third the point color.

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 KIDMAP and will include an index for the selected respondent, 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.

Value

KIDMAP plot for specified person.


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