plotPIT | R Documentation |
Plot PIT histograms
plotPIT(
Z,
dist = c("norm", "t"),
shape = 2,
col = 5,
breaks = 10,
title = "",
label = 0,
gPars = ErrViewLib::setgPars()
)
Z |
(vector) a set of z-zscores |
dist |
(string) a distribution |
shape |
(numeric) shape parameter (> 0, maybe non-integer). |
col |
(integer) a color number for the histigram |
breaks |
(integer) number of breaks in the histogram |
title |
(string) a title for the plot |
label |
(integer) index of letter for subplot tag |
gPars |
(list) graphical parameters |
a plot
uE = sqrt(rchisq(1000, df = 4)) # Re-scale uncertainty
E = rnorm(uE, mean=0, sd=uE) # Generate errors
plotPIT(E/uE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.