Learn R Programming

exPrior (version 1.0.1)

plotExData: plot histogram of measurements

Description

plotExData plots histogram of ex-situ data as provided to genExPrior

Usage

plotExData(exdata, bindwidth = NULL, xrange = NULL, ymax = NULL,
  showLegend = T)

Arguments

exdata

a dataframe containing ex-situ data, as provided to the function genExPrior

bindwidth

a numeric specifying the width of the bins (optional)

xrange

a vector with the limits for the x-axis site

ymax

is a numeric specifying the maximum value on the y-axis

showLegend

a boolean indicating whether to show the legend with the names of sites (optional, defaults to true)

Value

a plot