Plot.margs: Plotting functions (eawagSummerSchoolTools)

Description Usage Arguments Value Author(s) See Also

View source: R/Plot.R

Description

Function to plot marginal distributions of a sample. If definitions of prior marginals are provided, these can be plotted in addition to the sample marginals.

Usage

1
2
3
Plot.margs(postsamp,pridist=list(),val=NA,ncol=NA,nrow=NA,mar=NA,
           xlim=list(),ymax=list(),titles=list(),xlab=list(),ylab=list(),
           adjust=1,lty=NA,col.post=NA,col.pri=NA)

Arguments

postsamp

data frame containing Markov chain

pridist

prior distributions (list)

val

optional values

ncol

optional number of columns in plotting grid

nrow

optional number of rows in plotting grid

mar

optional margins

xlim

optional limits of the x axes (list)

ymax

optional maximum y values (list)

titles

optional titles (list)

xlab

optional labels of x axes (list)

ylab

optional labels of y axes (list)

adjust

optional adjustment

lty

optional line types

col.post

optional color for posteriors

col.pri

optional color for priors

Value

Plots of marginal distributions.

Author(s)

Peter Reichert <peter.reichert@eawag.ch>

See Also

Plot.res, Plot.vars, contourpdf, Plot.chains


baccione-eawag/EawagSchoolTools documentation built on Dec. 19, 2021, 6:38 a.m.