R/log_cumul_abund.R
log_cumul_abund.Rd
Predict the cumulative proportion of catch for the purposes of estimating annual migration timing using a logistic growth equation
log_cumul_abund(percent, date)
percent | The cumuative proportion of catch between 0 and 100 percent |
---|---|
date | The julian date of capture |
A dataframe with a date column and predicted cumulative proportion of catch
#> Error in eval_tidy(xs[[i]], unique_output): object 'percent' not founddf <- 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"