Predict the cumulative proportion of catch for the purposes of estimating annual migration timing using a logistic growth equation

log_cumul_abund(percent, date)

Arguments

percent

The cumuative proportion of catch between 0 and 100 percent

date

The julian date of capture

Value

A dataframe with a date column and predicted cumulative proportion of catch

Examples

date <- 110:190 n <- rnorm(81, mean = 100, sd = 20) df <- dplyr::tibble(date, percent)
#> Error in eval_tidy(xs[[i]], unique_output): object 'percent' not found
df <- df %>% mutate(percent == cumsum(n / sum(n) * 100))
#> Error in mutate(., percent == cumsum(n/sum(n) * 100)): could not find function "mutate"
log_cumul_abund(df$date, df$percent)
#> Error in logit(percent/100): could not find function "logit"