├── .Rbuildignore ├── .github ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md └── workflows │ ├── R-CMD-check.yaml │ └── pkgdown.yaml ├── .gitignore ├── DESCRIPTION ├── LICENSE ├── LICENSE.md ├── NAMESPACE ├── NEWS.md ├── R ├── HGAM.R ├── model_tree.R ├── parameterize.R ├── ricker-model.R ├── sim_troph_triangle.R ├── simulate_abrupt_change.R ├── skeleton.R ├── trend_linear.R ├── trend_step.R └── utilities.R ├── README.md ├── _pkgdown.yml ├── abrupt.Rproj ├── code-for-inclusion ├── dynamic_shift_detector.R ├── simulations.R └── simulations_weight_analysis.R ├── man ├── abr_breaks.hgam.Rd ├── abr_fit.hgam.Rd ├── abr_fit.rpart.Rd ├── linear_trend.Rd ├── rickerfit.Rd ├── seed_rng.Rd ├── sim_troph_triangle.Rd ├── simulate_linear_trend.Rd ├── simulate_step_trend.Rd └── step_trend.Rd └── tests ├── testthat.R └── testthat ├── test-linear-trend.R └── test-step-trend.R /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.github/workflows/R-CMD-check.yaml -------------------------------------------------------------------------------- /.github/workflows/pkgdown.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.github/workflows/pkgdown.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/.gitignore -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/LICENSE.md -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/NAMESPACE -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/NEWS.md -------------------------------------------------------------------------------- /R/HGAM.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/HGAM.R -------------------------------------------------------------------------------- /R/model_tree.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/model_tree.R -------------------------------------------------------------------------------- /R/parameterize.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/parameterize.R -------------------------------------------------------------------------------- /R/ricker-model.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/ricker-model.R -------------------------------------------------------------------------------- /R/sim_troph_triangle.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/sim_troph_triangle.R -------------------------------------------------------------------------------- /R/simulate_abrupt_change.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/simulate_abrupt_change.R -------------------------------------------------------------------------------- /R/skeleton.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/skeleton.R -------------------------------------------------------------------------------- /R/trend_linear.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/trend_linear.R -------------------------------------------------------------------------------- /R/trend_step.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/trend_step.R -------------------------------------------------------------------------------- /R/utilities.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/R/utilities.R -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/README.md -------------------------------------------------------------------------------- /_pkgdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/_pkgdown.yml -------------------------------------------------------------------------------- /abrupt.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/abrupt.Rproj -------------------------------------------------------------------------------- /code-for-inclusion/dynamic_shift_detector.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/code-for-inclusion/dynamic_shift_detector.R -------------------------------------------------------------------------------- /code-for-inclusion/simulations.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/code-for-inclusion/simulations.R -------------------------------------------------------------------------------- /code-for-inclusion/simulations_weight_analysis.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/code-for-inclusion/simulations_weight_analysis.R -------------------------------------------------------------------------------- /man/abr_breaks.hgam.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/abr_breaks.hgam.Rd -------------------------------------------------------------------------------- /man/abr_fit.hgam.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/abr_fit.hgam.Rd -------------------------------------------------------------------------------- /man/abr_fit.rpart.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/abr_fit.rpart.Rd -------------------------------------------------------------------------------- /man/linear_trend.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/linear_trend.Rd -------------------------------------------------------------------------------- /man/rickerfit.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/rickerfit.Rd -------------------------------------------------------------------------------- /man/seed_rng.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/seed_rng.Rd -------------------------------------------------------------------------------- /man/sim_troph_triangle.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/sim_troph_triangle.Rd -------------------------------------------------------------------------------- /man/simulate_linear_trend.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/simulate_linear_trend.Rd -------------------------------------------------------------------------------- /man/simulate_step_trend.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/simulate_step_trend.Rd -------------------------------------------------------------------------------- /man/step_trend.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/man/step_trend.Rd -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/test-linear-trend.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/tests/testthat/test-linear-trend.R -------------------------------------------------------------------------------- /tests/testthat/test-step-trend.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regime-shifts/abrupt/HEAD/tests/testthat/test-step-trend.R --------------------------------------------------------------------------------