plotDistHist: Scatter plot of an error set with marginal histogram

View source: R/plotDistHist.R

plotDistHistR Documentation

Scatter plot of an error set with marginal histogram

Description

Scatter plot of an error set with marginal histogram

Usage

plotDistHist(
  x,
  y,
  uy = NULL,
  nclass = NULL,
  xlab = "x",
  ylab = "y",
  logX = FALSE,
  plotGauss = FALSE,
  outLiers = FALSE,
  p = 0.9,
  labels = 1:length(x),
  select = NULL,
  main = NULL,
  plotReg = TRUE,
  plotConf = FALSE,
  degree = 0,
  colPoints = NULL,
  plotBA = FALSE,
  plotBAci = FALSE,
  topMar = 1.6,
  xlim = range(x),
  ylim = range(y),
  scaleLegBA = 0.75,
  scalePoints = 0.75,
  gPars = ErrViewLib::setgPars()
)

Arguments

x

-

y

-

uy

-

nclass

-

xlab

-

ylab

-

logX

-

plotGauss

-

outLiers

-

p

-

labels

-

select

-

main

-

plotReg

-

plotConf

-

degree

-

colPoints

-

plotBA

-

plotBAci

-

topMar

-

xlim

-

ylim

-

scaleLegBA

-

gPars

-

Examples


  uE  = sqrt(rchisq(1000, df = 4))  # Re-scale uncertainty
  E   = rnorm(uE, mean=0, sd=uE)    # Generate errors
  V   = 1:length(E)
  plotDistHist(V, E, uE, xlab = 'V', ylab='E',ylim = c(-12,12))


ppernot/ErrViewLib documentation built on June 1, 2024, 4:33 a.m.