impute_count
impute_count(
ts_season_count,
ts_flight_curve,
TimeUnit = "d",
MultiVisit = "mean",
weekday = 3,
sp = NULL,
YearLimit = NULL,
SelectYear = NULL,
CompltSeason = TRUE,
verbose = TRUE
)
data.table Time-series of counts for a specific species across all sites as returned by ts_monit_count_site.
pheno_curve class object or data.table with light curves and relative abundances (NM) for a specific species as returned by flight_curve.
character The time-step for which the spline should be computed, 'd' day or 'w' week.
string Function to apply for summarising multiple counts within a time unit, 'max' or 'mean' (default).
Integer for selected day of the week for weekly summary, default is 3 (Wednesday). [1-7] where 1 = Monday.
integer or string Species ID or name.
integer Define the span of years (+/- number of year) to look for a flight curve, if NULL no restriction is set.
integer Select a specific year to compute the flight curve, default=NULL.
logical Restrict computation of flight curve for years where the complete season was sampled, default=TRUE.
a logical indicating if some “progress report” should be given.
A data.table based on the entry count data, augmented with site indices 'SINDEX' and imputed weekly count 'IMPUTED_COUNT'.
Site indices can be extracted from the data.table returned by this function. The site index is currently computed by adjusting the count by the proportion of the flight curve covered by the visits.