pmfcont: pmfcont

Description Usage Arguments Details Examples

View source: R/pmfcont.R

Description

Reading in and formatting contributions data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
pmfcont(x, ...)

## Default S3 method:
pmfcont(dat1, dir = "./", rms = NULL, prefix,
  constrain = F, cn = NULL, scale = NULL,
  formatdate = "%m/%d/%Y")

## S3 method for class 'pmfcont'
print(x)

## S3 method for class 'pmfcont'
plot(x, class = "scatter", type = F, scale = NULL,
  size1 = 12, size2 = 1, ncol1 = 3)

Arguments

dat1

full path to original constituent dataset

dir

path to PMF result

rms

character vector of constituents removed from PMF run

prefix

prefix of PMF result

constrain

was constrained PMF run? (default = F)

cn

optional column names for sources

scale

character of scaling variable (e.g. PM)

formatdate

date format if first column is date

Details

pmfcont Read in contribution data

These are functions to read in and format PMF output contributions

Examples

1
2
3
4
5
6
# Save nycdat.csv and PMF output to working directory
cont <- pmfcont("nycdat.csv", prefix = "pmfdatex", formatdate = "%m/%d/%y")
print(cont)
plot(cont)
plot(cont, class = "hist")
summary(cont)

kralljr/pmfr documentation built on Oct. 24, 2019, 11:02 p.m.