How bfast2/bfast works
bfast is an R package for analyzing time series, especially detecting and monitoring structural change. A principal documented workflow is for a user to provide a time series to bfastmonitor() and inspect or plot the result. The package tree also exposes preprocessing, time-series conversion, alternative analysis functions, and result visualization. The README documents performance-option controls and optimized C++ paths, but the supplied excerpts do not show how R functions call those paths, so those relationships are not inferred here.
Main entry points: bfastmonitor.R Change monitor · zzz.R Performance options
Components 18
Analysis
- BFAST
R/bfast.R - Change monitor
R/bfastmonitor.R - BFAST lite
R/bfastlite.R - BFAST 01
R/bfast01.R - Break classification
R/bfast01classify.R - Historical breaks
R/history_break.R - Historical ROC
R/history_roc.R - Seasonal analysis
R/seasonal.R
Time-series preparation
- BFAST preprocessing
R/bfastpp.R - Time-series conversion
R/bfastts.R - 16-day series creation
R/create16dayts.R - Closest-date routine
src/bfastts.cpp
Results and options
- BFAST plots
R/plot.bfast.R - Monitor plots
R/plot.bfastmonitor.R - BFAST output
R/print.bfast.R - Monitor output
R/print.bfastmonitor.R - Performance options
R/zzz.R
Other components
- Analyst
Connections 2
- Analyst → Change monitor: runs
README.md - Analyst → Performance options: sets options
README.md