prepData: prepData: Wrapper to prepare data for analysis or predictions

Description Usage Arguments Details

Description

prepData Wrapper to prepare data for analysis or predictions

Usage

1
2
prepData(catches, springFallBPs, df_covariates_upstream, tempDataSync,
  featureid_lat_lon, featureid_huc8, rand_ids, df_stds)

Arguments

catches

Vector of catchment featureid to prepare for analysis

springFallBPs

Dataframe of spring-fall breakpoints

df_covariates_upstream

Dataframe of covariates

tempDataSync

Data used for modeling in JAGS

featureid_lat_lon

Dataframe linking featureid to lat and lon

featureid_huc8

Dataframe linking featureid to hucs

rand_ids

Dataframe of random site, huc, and year info

df_stds

Dataframe of means and standard deviations used for standardizing continuous covariates

Details

This function is a mess but currently works. Lots of redundancy, especially in the data imported. var: blah, blah, blah value: something, something


Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.