SIMapca: Absolute Principal Component Analysis (APCA)

Description Usage Arguments

View source: R/sim_APCA.R

Description

simAPCA applies APCA and extracts summary information for simulation study

Usage

1
2
3
SIMapca(data, tots = NULL, nsources = NULL, adjust = NULL, mdl = NULL,
  cut = 1, type = "apca", mons = NULL, i = NA, print = F, k = 10,
  complete = F, ...)

Arguments

data

data frame of daily constituent concentrations with date as first column

tots

vector of total concentrations (total PM2.5) for each day. If null, uses rowSums(data)

nsources

number of sources. If null, uses number of eigenvalues of the correlation matrix greater than one.

adjust

method to adjust censored concentrations below minimum detection limits (MDLs). If null, uses complete case data

mdl

either a vector of mdls corresponding to each constituent or a matrix of mdls corresponding to each constituent and each day.

cut

cutoff for eigenvalues. Only used if nsources is NULL

type

Source apportionment method (apca or mapca)

mons

vector of monitors corresponding to data

i

monitor number (for printing)

print

whether to print monitors without temporal variability


kralljr/handles documentation built on Dec. 6, 2019, 3:39 p.m.