Package: tidychangepoint 0.0.1

tidychangepoint: A Tidy Framework for Changepoint Detection Analysis

Changepoint detection algorithms for R are widespread but have different interfaces and reporting conventions. This makes the comparative analysis of results difficult. We solve this problem by providing a tidy, unified interface for several different changepoint detection algorithms. We also provide consistent numerical and graphical reporting leveraging the 'broom' and 'ggplot2' packages.

Authors:Benjamin S. Baumer [aut, cre, cph], Biviana Marcela Suarez Sierra [aut], Arrigo Coen [aut], Carlos A. Taimal [aut], Xueheng Shi [ctb]

tidychangepoint_0.0.1.tar.gz
tidychangepoint_0.0.1.zip(r-4.5)tidychangepoint_0.0.1.zip(r-4.4)tidychangepoint_0.0.1.zip(r-4.3)
tidychangepoint_0.0.1.tgz(r-4.4-any)tidychangepoint_0.0.1.tgz(r-4.3-any)
tidychangepoint_0.0.1.tar.gz(r-4.5-noble)tidychangepoint_0.0.1.tar.gz(r-4.4-noble)
tidychangepoint_0.0.1.tgz(r-4.4-emscripten)tidychangepoint_0.0.1.tgz(r-4.3-emscripten)
tidychangepoint.pdf |tidychangepoint.html
tidychangepoint/json (API)
NEWS

# Install 'tidychangepoint' in R:
install.packages('tidychangepoint', repos = c('https://beanumber.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/beanumber/tidychangepoint/issues

Datasets:

On CRAN:

5.06 score 1 stars 8 scripts 140 downloads 100 exports 59 dependencies

Last updated 3 months agofrom:1f7c4a6105. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:AICas_yearas.modelas.seg_cptas.segmenteras.tsaugmentBICbinary2tauBMDLbuild_gabin_populationchangepointschromo2taucoefcompare_algorithmscompare_modelscut_inclusivedeg_freediagnoseevaluate_cptsevolve_gbmdlexceedancesfile_namefit_lmshiftfit_lmshift_ar1fit_meanshiftfit_meanshift_lnormfit_meanshift_normfit_meanshift_norm_ar1fit_meanvarfit_nhppfit_trendshiftfit_trendshift_ar1fitnessfittedfun_cptglanceindexis_modelis_segmenteris_valid_tauiweibulljunta_1_puntos_cambiojunta_k_puntos_cambiolog_gabin_populationlogLikmat_cp_2_listmata_1_tau_voladomata_k_tau_voladoMBICmcdfMDLmod_cptmodel_argsmodel_namemodel_variancemuta_1_cp_BMDLmuta_k_cp_BMDLmweibullnew_fun_cptnew_mod_cptnew_seg_basketnew_seg_cptnobspad_tauparameters_weibullplot_best_chromosomeplot_cpt_repeatedplot_intensityprobs_vec_MDLresidualsseg_basketseg_cptseg_paramssegmentsegment_coensegment_gasegment_ga_coensegment_ga_randomsegment_ga_shisegment_manualsegment_peltselec_k_pares_de_padressim_1_cp_BMDLsim_k_cp_BMDLsplit_by_tautau2binarytau2timetbl_coeftest_settidytimetime2tauunpad_tauvalidate_fun_cptvalidate_mod_cptvalidate_tauvec_castvec_ptype2whomademe

Dependencies:anytimebackportsBHbroomcachemchangepointclicodetoolscolorspacecpp11crayondplyrellipsisfansifarverfastmapforeachGAgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmunsellnlmepatchworkpillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadillorlangscalesstringistringrtibbletidyrtidyselecttimechangetsibbleutf8vctrsviridisLitewbswithrxtszoo

tidychangepoint

Rendered fromtidychangepoint.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-05-29
Started: 2024-04-22

Readme and manuals

Help Manual

Help pageTopics
Convert a date into a yearas_year
Convert, retrieve, or verify a model objectas.model as.model.default as.model.tidycpt is_model
Convert, retrieve, or verify a segmenter objectas.segmenter as.segmenter.tidycpt as.seg_cpt as.seg_cpt.cpt as.seg_cpt.ga as.seg_cpt.seg_basket as.seg_cpt.seg_cpt as.seg_cpt.wbs is_segmenter
Convert changepoint sets to binary stringsbinary2tau tau2binary
Bayesian Maximum Descriptive LengthBMDL BMDL.default BMDL.nhpp
Particulate matter in Bogotá, Colombiabogota_pm
Initialize populations in genetic algorithmsbuild_gabin_population log_gabin_population
Hadley Centre Central England TemperatureCET
Extract changepointschangepoints changepoints.cpt changepoints.default changepoints.ga changepoints.mod_cpt changepoints.seg_basket changepoints.seg_cpt changepoints.tidycpt changepoints.wbs
Compare various models or algorithms for a given changepoint setcompare_algorithms compare_models
Use a changepoint set to break a time series into regionscut_inclusive split_by_tau
Simulated time series dataDataCPSim rlnorm_ts_1 rlnorm_ts_2 rlnorm_ts_3
Retrieve the degrees of freedom from a 'logLik' objectdeg_free
Diagnose the fit of a segmented time seriesdiagnose diagnose.mod_cpt diagnose.nhpp diagnose.seg_basket diagnose.tidycpt
Compute exceedances of a threshold for a time seriesexceedances exceedances.default exceedances.double exceedances.nhpp exceedances.ts
Obtain a descriptive filename for a tidycpt objectfile_name
Regression-based model fittingfit_lmshift fit_lmshift_ar1 fit_trendshift fit_trendshift_ar1
Fast implementation of meanshift modelfit_meanshift fit_meanshift_lnorm fit_meanshift_norm fit_meanshift_norm_ar1
Fit a model for mean and variancefit_meanvar
Fit a non-homogeneous Poisson process model to the exceedances of a time series.fit_nhpp
Retrieve the optimal fitness (or objective function) value used by an algorithmfitness fitness.cpt fitness.ga fitness.seg_basket fitness.seg_cpt fitness.tidycpt fitness.wbs
Weibull distribution functionsiweibull mweibull parameters_weibull
Modified Bayesian Information CriterionMBIC MBIC.default MBIC.logLik
Cumulative distribution of the exceedances of a time seriesmcdf
Rainfall in Medellín, Colombiamde_rain mde_rain_monthly
Maximum Descriptive LengthMDL MDL.default MDL.logLik
Differences between leagues in Major League Baseballmlb_hrs
Retrieve the arguments that a model-fitting function usedmodel_args model_args.cpt model_args.default model_args.ga model_args.seg_cpt model_args.wbs
Retrieve the name of the model that a segmenter or model usedmodel_name model_name.character model_name.cpt model_name.default model_name.ga model_name.mod_cpt model_name.seg_basket model_name.seg_cpt model_name.tidycpt model_name.wbs
Compute model variancemodel_variance
Class for model-fitting functionsfun_cpt new_fun_cpt validate_fun_cpt
Base class for changepoint modelsmod_cpt new_mod_cpt validate_mod_cpt
Default class for candidate changepoint setsnew_seg_basket seg_basket
Base class for segmentersnew_seg_cpt seg_cpt
Pad and unpad changepoint sets with boundary pointsis_valid_tau pad_tau unpad_tau validate_tau
Diagnostic plots for 'seg_basket' objectsplot_best_chromosome plot_cpt_repeated
Plot the intensity of an NHPP fitplot_intensity
Plot GA informationplot.tidyga
Retrieve parameters from a segmenterseg_params seg_params.cpt seg_params.ga seg_params.seg_cpt seg_params.wbs
Segment a time series using a variety of algorithmssegment segment.numeric segment.tbl_ts segment.ts segment.xts
Segment a time series using a genetic algorithmsegment_ga segment_ga_coen segment_ga_random segment_ga_shi
Manually segment a time seriessegment_manual
Segment a time series using the PELT algorithmsegment_pelt
Convert changepoint sets to time indicestau2time time2tau
Format the coefficients from a linear model as a tibbletbl_coef
Simulate time series with known changepoint setstest_set
Container class for 'tidycpt' objectstidycpt-class
Recover the function that created a modelwhomademe