Plot.vars: Plotting functions (eawagSummerSchoolTools)

Description Usage Arguments Details Value Author(s) See Also

View source: R/Plot.R

Description

Function to plot several sets of results.

Usage

1
2
Plot.vars(vars,L,ncol=NA,mar=NA,ylim=list(),markers=F,headers=list(),
          xlab="",ylab="",pos="topright")

Arguments

vars

matrix or data frame with variables, and variable information encoded in row names

L

observation layout

ncol

optional number of columns of sub-panels of the plot

mar

optional specification of margins in the form c(bottom,left,top,right)

ylim

optional named (by variable name) list of limits of the y axes

markers

if TRUE plot markers instead of lines

headers

optional named (by variable name) list of headers of the plots

xlab

optional label of the x axis

ylab

optional label of the y axis

pos

position of legend (only if more than one variable)

Details

Results should be stored in a data frame or matrix, with the corresponding variable information encoded in the row names (for example C_M_1 for variable C_M at time 1).

Value

Plot of all variables as a function of the independent variable.

Author(s)

Peter Reichert <peter.reichert@eawag.ch>

See Also

Plot.res, contourpdf, Plot.chains, Plot.margs


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