Get coefficients from linear model

pr_get_Coeffs(df)

Arguments

df

dataframe containing Year, Month, Parameters, values

Value

coefficients from linear model

Examples

df <- planktonr::pr_get_EOVs("NRS") %>%
dplyr::filter(StationCode %in% c('PHB', 'NSI'),
Parameters %in% c("Biomass_mgm3", "PhytoBiomassCarbon_pgL")) %>%
  pr_get_Coeffs()