densityPlotModelComparison,PCOSP_or_RLS_or_RGA,PCOSP_or_RLS_or_RGA-method {PDATK} | R Documentation

## Render a Density Plot Comparing Model Performance Between Two `PCOSP`, `RLSModel` or `RGAModel` object.

### Description

Render a Density Plot Comparing Model Performance Between Two `PCOSP`, `RLSModel` or `RGAModel` object.

### Usage

    ## S4 method for signature 'PCOSP_or_RLS_or_RGA,PCOSP_or_RLS_or_RGA'
    densityPlotModelComparison(
      object,
      refModel,
      ...,
      title,
      xlab,
      ylab,
      mDataTypeLabels
    )

### Arguments

`object` | A `PCOSP`, `RLSModel` or `RGAModel` object.
`refModel` | A `PCOSP`, `RLSModel` or `RGAModel` object to compare performance against.
`...` | Catch unnamed parameters. Not used.
`title` | Optional `character` vector with plot title.
`xlab` | Optional `character` vector with x-axis label.
`ylab` | Optional `character` vector with y-axis label.
`mDataTypeLabels` | Optional `character` vector whos names are one or more existing mDataTypes in `object` and `refModel` and whos values are the desired mDataType labels in the plot facets.

### Value

A `ggplot` object with a density plot of model AUCs for `object` and a vertical line for the average AUC of `refModel`, faceted by mDataType.

[Package PDATK version 1.0.2 Index]