plotInfo is a plotting function to visualize scale-level information.

plotInfo(
  object,
  data,
  theta = seq(-4, 4, 0.1),
  t_score = FALSE,
  scale_label = c(1, 2, "Combined"),
  color = c("red", "blue", "black"),
  lty = c(3, 2, 1)
)

# S4 method for SingleGroupClass
plotInfo(
  object,
  data,
  theta = seq(-4, 4, 0.1),
  t_score = FALSE,
  scale_label = c(1, 2, "Combined"),
  color = c("red", "blue", "black"),
  lty = c(3, 2, 1)
)

Arguments

object

a SingleGroupClass object from runCalibration.

data

a PROsetta_data object.

theta

(optional) theta values to plot on the x-axis. (default = seq(-4, 4, .1))

t_score

(optional) set to TRUE to plot T-scores on the x-axis instead of thetas. (default = FALSE)

scale_label

(optional) names of each scale. This must have three values. (default = c(1, 2, "Combined"))

color

(optional) line colors to plot. This must have three values. (default = c("red", "blue", "black"))

lty

(optional) line types to plot. This must have three values. (default = c(3, 2, 1))

Examples

# \donttest{
o <- runCalibration(data_asq, technical = list(NCYCLES = 1000))
plotInfo(o, data_asq)
# }