stat_corr {nonmem2R}R Documentation

Adding correlation to x-y plots

Description

Correlation to x-y plots. This stat is indended for providing correlations e.g. above the diagonal of a pairs plot

Usage

stat_corr(
  mapping = NULL,
  data = NULL,
  geom = "text",
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  ...
)

Arguments

mapping

Set of aesthetic mappings created by aes or aes_.

data

The data to be displayed in this layer.

geom

Use to override the default geom

position

Position adjustment, either as a string, or the result of a call to a position adjustment function.

na.rm

If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed.

show.legend

logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes.

inherit.aes

If FALSE, overrides the default aesthetics, rather than combining with them.

...

other arguments passed on to layer.

Details

Provide normal QQplot


[Package nonmem2R version 0.2.5 Index]