check_pheno Check for the flight curve of a specific year. If the specific year is missing, use the nearest year available within a 5-year period to impute missing count. Function used in impute_count.
fit_bam_multi Fit a Generalized Additive Model using bam() with factor-smooth interactions to butterfly count data across multiple years simultaneously. This function fits a single model across multiple years using factor-smooth interactions (fs), which allows year-specific smooth terms while sharing information across years. This is more efficient than fitting separate models per year.
flight_curve_multi Compute flight curves across multiple years simultaneously using a single BAM model with factor-smooth interactions. This is more efficient than fitting separate models per year and can provide better estimates for years with sparse data.
points.pheno_curve Generic method to add points on a plot of the flight curve, where values are extracted from a pheno_curve object (outcome of the light_curve() function)
set_anchor Add Anchors of "zeros" at determined distance on each side of the monitoring season with specific weight (length), this function is used by ts_monit_season()
ts_monit_count_site Generate a full time series of observed count, for all sites and each day since a starting and ending years of the defined time-series