plot_qq_marginals: A Q-Q plot with histograms in the marginals

Description Usage Arguments Examples

View source: R/plot_qq_marginals.R

Description

A Q-Q plot with histograms in the marginals

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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

1
2

sdamr documentation built on Nov. 19, 2020, 3 a.m.