compare_harvest_rates: Compares two harvest rates dataframes created from different...

View source: R/lincoln.R

compare_harvest_ratesR Documentation

Compares two harvest rates dataframes created from different filters

Description

This function takes either two dataframes returned by get_harvest_rate or creates two from different filters. It then compares the harvest rates for the two dataframes over the years to see if differences exist.

Usage

compare_harvest_rates(
  df1 = NULL,
  df2 = NULL,
  filters1 = NULL,
  filters2 = NULL,
  plot = TRUE,
  check_overlap = TRUE,
  ...
)

Arguments

df1

First dataframe to compare, Default: NULL

df2

Second dataframe to compare, Default: NULL

filters1

Filters used to create df1 if it is not provided, Default: NULL

filters2

Filters used to create df2 if it is not provided, Default: NULL

plot

Plot the comparisons, Default: TRUE

check_overlap

Check if all confidence levels overlap, Default: TRUE

...

Additional arguments needed by get_harvest_rate to create the dataframes if they are not provided

Value

A logical specifiying if all confidence levels overlap if check_overlap is set to TRUE.

See Also

get_harvest_rate


Vin985/gblincoln documentation built on April 21, 2022, 1:49 a.m.