tcG.qqplot: QQplot for meta-Gaussian models

View source: R/qqplot_tcG.R

tcG.qqplotR Documentation

QQplot for meta-Gaussian models

Description

Called by res.plot, we don't advise you to use it.

Usage

tcG.qqplot(
  y,
  names,
  qfit,
  q.L,
  q.U,
  cols = cbind(c(rgb(0, 0, 1), rgb(1, 0, 0), rgb(0, 1, 0), rgb(1, 0, 1)), c(rgb(0, 0,
    1, 0.5), rgb(1, 0, 0, 0.5), rgb(0, 1, 0, 0.5), rgb(1, 0, 1, 0.5)), c(rgb(0, 0, 1,
    0.1), rgb(1, 0, 0, 0.1), rgb(0, 1, 0, 0.1), rgb(1, 0, 1, 0.1))),
  zoomy = range(y, na.rm = T),
  legend = TRUE,
  zoomx = range(y, na.rm = T),
  main = "QQ plot"
)

Arguments

y

vector of data

names

name(s) of the anamorphosis that were fitted, a subset of c('gp', 'power', 'power-exp', 'quadratic-power')

qfit

list obtained with fit.tcG (fitted quantiles)

q.L

list obtained with fit.tcG (lower intervall of the bootstrap quantiles)

q.U

list obtained with fit.tcG (upper intervall of the bootstrap quantiles)

cols

matrix of colors for the barplot

zoomy

vector of length 2, range to zoom on the y axis

legend

boolean, should there be a legend?

zoomx

vector of length 2, range to zoom on the x axis

main

title of the plot


mbtgy/tcG documentation built on Oct. 19, 2023, 3:10 p.m.