bootstrapPCA: Estimate flow across Tamiami Trail

Description Usage Arguments Value

View source: R/bootstrapPCA.R

Description

Applies principal component analysis to new data to generate predicted flow into Everglades National Park

Usage

1
2
bootstrapPCA(data, probTrain = 0.8, iter = 1000, plot = TRUE,
  columnsUsed)

Arguments

data

input data (will be subsampled to create training and out-of-sample data)

probTrain

proportion of sample data to include in training dataset

iter

number of iterations

plot

logical; whether relationship between preicted and observed flow be displayed on a plot

columnsUsed

numeric range specifying columns in "data" to be used for PCA

Value

a vector of flow estimates


troyhill/COPmod documentation built on Aug. 10, 2021, 12:05 p.m.