Package: SporeLag 0.1.2
SporeLag: Lagged and Moving-Average Exposure Features for Aeroallergen Epidemiology
Deterministic, group-safe utilities that transform daily environmental exposure series (pollen and spore counts, with support for other time-varying exposures such as ozone and particulate matter) into analysis-ready lagged and moving-average exposure features. Functions validate temporal regularity, assign ISO 8601 weeks and configurable seasons, impute missing daily values transparently, and construct lagged and windowed exposures suitable for environmental epidemiology and public health analyses.
Authors:
SporeLag_0.1.2.tar.gz
SporeLag_0.1.2.zip(r-4.7-any)SporeLag_0.1.2.zip(r-4.6-any)SporeLag_0.1.2.zip(r-4.5-any)
SporeLag_0.1.2.tgz(r-4.6-any)SporeLag_0.1.2.tgz(r-4.5-any)
SporeLag_0.1.2.tar.gz(r-4.7-any)SporeLag_0.1.2.tar.gz(r-4.6-any)
SporeLag_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SporeLag/json (API)
| # Install 'SporeLag' in R: |
| install.packages('SporeLag', repos = c('https://friveramariani.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/friveramariani/sporelag/issues
- pollen_demo - Synthetic daily pollen counts from two monitoring sites
Last updated from:06d7aaad53. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 152 | ||
| source / vignettes | OK | 232 | ||
| linux-release | OK | 177 | ||
| macos-release | OK | 155 | ||
| macos-oldrel | OK | 212 | ||
| windows-devel | OK | 77 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 82 | ||
| wasm-release | OK | 125 |
Exports:apply_lagassign_iso_weekassign_seasonbuild_moving_averagecomplete_daily_gridimpute_weekly_mean
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Apply time-indexed lags to an exposure series | apply_lag |
| Assign ISO 8601 week and year | assign_iso_week |
| Assign a season label | assign_season |
| Build moving-average exposure windows | build_moving_average |
| Build a complete daily grid | complete_daily_grid |
| Impute missing daily values with the ISO-week mean | impute_weekly_mean |
| Synthetic daily pollen counts from two monitoring sites | pollen_demo |
