Skip to content

skgrange/pmfr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pmfr

Build Status

Introduction

The EPA's Positive Matrix Factorization (PMF) Model (EPA PMF) is an unmaintained and Windows-only tool which is used for analysis of environmental data, most commonly for source apportionment of particulate matter (PM) in the atmosphere or water quality analysis. EPA PMF is, by modern standards, clunky and constrained but it still sees wide usage in data analysis activities. When I first encountered this tool, I desired to build an R interface around the core PMF and generalized multilinear engine (ME-2) Fortran programmes to allow for automation and efficient integration of model running and data analysis. However, the core Fortran source is unavailable due to its proprietary nature and seems to have been developed only with Windows in mind so would be a rather large job to port. Therefore, I have committed to using the EPA PMF tool for what it does best and then develop an R package to pick up all the outputs and allow for efficient data analysis. This is the goal of pmfr.

Installation

To install the development version, install remotes first, then try this:

# Install pmfr
remotes::install_github("skgrange/pmfr")

Usage

pmfr contains a number of read_pmf_* functions which read EPA PMF's outputs into R. Currently, only the .csv output format is supported because this was the easiest place to start.

About

Interact With Data Generated by the EPA PMF Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages