pmfprof: pmfprof

Description Usage Arguments Details Examples

View source: R/pmfprof.R

Description

Reading in and formatting profile data

Usage

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

## Default S3 method:
pmfprof(dat, dir = "./", rms = NULL, prefix,
  constrain = F, cn = NULL, scale = F, sep = ",")

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

## S3 method for class 'pmfprof'
plot(x, scale = T, type = F, size = 12)

Arguments

dat

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

whether to scale profiles (default = F)

Details

pmfprof Read in profile data

These are functions to read in and format PMF output profiles

Examples

1
2
3
4
5
# Save nycdat.csv and PMF output to working directory
prof <- pmfprof("nycdat.csv", prefix = "pmfdatex")
print(prof)
plot(prof)
summary(prof)

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