plot_qq_marginals {sdamr}R Documentation

A Q-Q plot with histograms in the marginals

Description

A Q-Q plot with histograms in the marginals

Usage

plot_qq_marginals(
  x,
  breaks = "Sturges",
  newpage = TRUE,
  xlab = "Observed Quantiles",
  ylab = "Theoretical quantiles",
  xlim = grDevices::extendrange(c(min(x), max(x))),
  ylim = NULL,
  main = NULL,
  sub = NULL,
  axes = TRUE,
  border = TRUE,
  ...
)

Arguments

x

A numeric vector

breaks

How to compute breakpoints for the histogram. See ?hist

newpage

(logical) Should the plot be plotted on a new page?

xlab

Label for x-axis

ylab

Label for y-axis

xlim

Range of x values shown

ylim

Range of y values shown

main

Main title

sub

Subtitle

axes

(logical) Draw axes?

border

(logical) Draw a border?

...

Further arguments

Examples

data(anchoring)
plot_qq_marginals(anchoring$everest_feet)

[Package sdamr version 0.0.0.9005 Index]