plot.miaq.aer {heR.IndoorAir}R Documentation

Plot an MIAQ object

Description

Function to plot a miaq.aer output object. This function creates multiple plots on a single graphics page for each type of aerosol data array (mass,num,or dep), or, optionally, creates each plot in a new x11() window.

Usage

plot.miaq.aer(x,min.skip=1,bin.skip=1,chamb.skip=1,comp.skip=1,wall.skip=1,
              col.bin=rainbow(length(x$min)%/%bin.skip+1),
              col.min=rainbow((length(x$bin)-1)%/%min.skip+1),
              col.chamb=rainbow(dim(x$mass)[2]%/%chamb.skip+1),
              col.comp=rainbow(dim(x$mass)[3]%/%comp.skip+1),
              col.wall=rainbow(dim(x$dep)[5]%/%wall.skip+1),
              one.window=FALSE,cex=1,r=c("mass","num","dep"),
              k=c("min","size"),by=c("chamb","comp","bin","wall"))

Arguments

x an miaq.aer object
min.skip skip value for minutes
bin.skip skip value for bins
chamb.skip skip value for chambers
comp.skip skip value for aerosol components
wall.skip skip value for walls
col.bin color for bins
col.min color for minutes
col.chamb color for chambers
col.comp color for aerosol components
col.wall color for walls
one.window logical, whether to plot in one window or not
cex magnification for text and symbols
r response, or dependent, variable list
k key, or independent variable list
by conditioning variable list

Details

The output arrays contain multi-dimensional information:

Mass and Number Concentration Arrays (4D): [Elapsed-Minutes,Chamber,Aerosol-Component,Aerosol-Size-Bin] Deposition Array (5D): [Elapsed-Minutes,Chamber,Aerosol-Component,Aerosol-Size-Bin,Wall]

Note to self: Please write some general routines for conditional plots, integrative plots, and bivariate (3D) plots......

I will completely rewrite this in the future using Trellis plots.

Value

Invoked for the side effect of producing plot

Author(s)

Neil E. Klepeis
nklepeis@uclink.berkeley.edu
http://socrates.berkeley.edu/~nklepeis

See Also

miaq.aer, ylung


[Package heR.IndoorAir version 0.0.3 Index]