Extract tidy coefficients from model object

pr_get_coeffs(Models, id = "Station")

Arguments

Models

Model object created by planktonr::pr_model_data

id

What to name column of model ids

Value

tibble of model coefficients

Examples

df <- planktonr::pr_get_EOVs(Survey = "NRS") %>%
  dplyr::filter(StationCode != "VBM") %>%
  dplyr::filter(Parameters == "PigmentChla_mgm3") %>%
  pr_remove_outliers(2) %>%
  pr_model_data()
coeffs <- planktonr:::pr_get_coeffs(pr_get_model(df))