plot.clus_opt_thres3 {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 'clus_opt_thres3'
plot(
  x,
  ci_level = 0.95,
  colors = NULL,
  xlims,
  ylims,
  size_point = 0.5,
  size_path = 0.5,
  names_labels,
  nrow_legend = 1,
  file_name = NULL,
  ...
)

Arguments

x

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

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

an optional character vector giving the label name for covariates.

nrow_legend

an optional number of rows in the legend.

file_name

File name to create on disk.

...

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

Details

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

Value

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

See Also

clus_opt_thres3


[Package ClusROC version 1.0.2 Index]