qq_plot: QQ-Plots

View source: R/qq_plot.R

qq_plotR Documentation

QQ-Plots

Description

Creates qq-plots for all elements specified and colors the plot according to group.

Usage

qq_plot(
  data,
  elements,
  group,
  linewidth = 1,
  size = 1,
  color_scale = ggplot2::scale_color_viridis_d(),
  theme = ggplot2::theme_dark(),
  print = TRUE
)

Arguments

data

Datatable

elements

List with the elements that should be plotted.

group

Name of the group used for coloring the plot.

color_scale

Specify the colorscale. Virdis is the standard color scale.

theme

Specify the theme. ggplot2::theme_dark() is the stadard theme.

print

If TRUE qq plots are printed directly if FALSE the qq-plots are saved to a list, which is returned.


muhohl/geochem documentation built on March 4, 2025, 8:14 p.m.