| pem {heR.Inhalation} | R Documentation |
Function for simulating (modeling) personal exposure (pe) to indoor air pollutants in multi-room dwellings (currently limited to two compartments and neglects deposition of particles)
pem(n, sa, ra, scodes, rcodes,
sj=c(1,3,4), rj=c(2,3,4),
scol=gray(0:(length(scodes)-1)/length(scodes)),
rcol=rainbow(length(rcodes)),
t=c(0,1440),
emissions = c(200, 2),
volume = c(300, 2), volsplit = c(0.1, 0.5),
airexchange = c(0.6, 2),
fractflow12 = c(55, 75), fractflow21 = c(93, 99),
airsplit = c(0.5, 0.6),
inhalation = c(0.007, 1.1),
plot=FALSE)
n |
number of people to simulate (resample) |
sa |
source activity data (an R list with one person per component) |
ra |
receptor activity data (an R list with one person per component) |
scodes |
vector of activity codes indicating an active source |
rcodes |
vector of location codes indicating rooms where receptor exposure can occur |
t |
time scale for the simulation, defaults to 1 day (1440 min): 0:1440 |
sj |
source index; activity code, start min, end min |
rj |
receptor index; location code, start min, end min |
A data frame containing the results of the simulation
Neil E. Klepeis
nklepeis@uclink.berkeley.edu
http://socrates.berkeley.edu/~nklepeis