plot.optThres3 {ClusROC}R Documentation

Plot of confidence regions for covariate-specific optimal pair of thresholds.

Description

This function plots confidence regions for covariate-specific optimal pair of thresholds.

Usage

## S3 method for class 'optThres3'
plot(
  x,
  ci.level = 0.95,
  colors = NULL,
  xlims,
  ylims,
  size.point = 0.5,
  size.path = 0.5,
  names.labels,
  file.name = NULL,
  ...
)

Arguments

x

an object of class "optThres3", i.e., a result of optThres3.

ci.level

confidence level to be used for constructing the confidence regions; default is 0.95.

colors

a string vector for the name(s) specifying color(s) to be used for drawing confidence regions. If specified, the dimension of the vector needs to be equal the number of considered points (each point corresponds to a set of values for the covariates).

xlims, ylims

numeric vectors of dimension 2, giving the limits for x and y axes in the plot.

size.point, size.path

numeric values, indicating sizes for point(s) and line(s) in the plot.

names.labels

a optional character vector giving the label name for covariates.

file.name

File name to create on disk.

...

further arguments used with ggexport function, for example, width, height.

Details

plot.optThres3 provides plots of confidence regions (and point estimates) of covariate-specific optimal pair of thresholds. The plots are based on ggplot().

Value

plot.optThres3 returns plots of confidence regions of covariate-specific optimal pair of thresholds.

See Also

optThres3


[Package ClusROC version 1.0.1 Index]