Skip to contents

Algorithmic coverage through tidychangepoint

Usage

ls_models()

ls_pkgs()

ls_methods()

ls_penalties()

ls_cpt_penalties()

ls_coverage()

Value

A tibble::tibble or character

See also

Examples

# List all model-fitting functions
ls_models()
#> [1] "fit_lmshift"            "fit_lmshift_ar1"        "fit_meanshift_lnorm"   
#> [4] "fit_meanshift_norm"     "fit_meanshift_norm_ar1" "fit_meanvar"           
#> [7] "fit_nhpp"               "fit_trendshift"         "fit_trendshift_ar1"    

# List packages supported by tidychangepoint
ls_pkgs()
#> # A tibble: 4 × 2
#>   pkg             version   
#>   <chr>           <chr>     
#> 1 tidychangepoint 0.0.1.9003
#> 2 changepoint     2.3       
#> 3 wbs             1.4.1     
#> 4 GA              3.2.4     

# List methods supported by segment()
ls_methods()
#> # A tibble: 12 × 5
#>    method      pkg             segmenter_class helper              wraps        
#>    <chr>       <chr>           <chr>           <chr>               <chr>        
#>  1 pelt        changepoint     cpt             segment_pelt()      changepoint:…
#>  2 binseg      changepoint     cpt             NA                  changepoint:…
#>  3 segneigh    changepoint     cpt             NA                  changepoint:…
#>  4 single-best changepoint     cpt             NA                  changepoint:…
#>  5 wbs         wbs             wbs             NA                  wbs::wbs()   
#>  6 ga          GA              tidyga          segment_ga()        GA::ga()     
#>  7 ga-shi      GA              tidyga          segment_ga_shi()    segment_ga() 
#>  8 ga-coen     GA              tidyga          segment_ga_coen()   segment_ga() 
#>  9 coen        tidychangepoint seg_basket      segment_coen()      NA           
#> 10 random      GA              tidyga          segment_ga_random() segment_ga() 
#> 11 manual      tidychangepoint seg_cpt         segment_manual()    NA           
#> 12 null        tidychangepoint seg_cpt         segment_manual()    NA           

# List penalty functions provided by tidychangepoint
ls_penalties()
#> [1] "SIC"  "AIC"  "BIC"  "HQC"  "MBIC" "MDL"  "BMDL"

# List penalty functions supported by changepoint
ls_cpt_penalties()
#> [1] "None"       "SIC"        "BIC"        "MBIC"       "AIC"       
#> [6] "HQC"        "Asymptotic" "Manual"     "CROPS"     

# List combinations of method, model, and penalty supported by tidychangepoint
ls_coverage()
#>          method                  model    penalty
#> 1          pelt     fit_meanshift_norm       None
#> 2          pelt            fit_meanvar       None
#> 3          pelt     fit_meanshift_norm        SIC
#> 4          pelt            fit_meanvar        SIC
#> 5          pelt     fit_meanshift_norm        BIC
#> 6          pelt            fit_meanvar        BIC
#> 7          pelt     fit_meanshift_norm       MBIC
#> 8          pelt            fit_meanvar       MBIC
#> 9          pelt     fit_meanshift_norm        AIC
#> 10         pelt            fit_meanvar        AIC
#> 11         pelt     fit_meanshift_norm        HQC
#> 12         pelt            fit_meanvar        HQC
#> 13         pelt     fit_meanshift_norm Asymptotic
#> 14         pelt            fit_meanvar Asymptotic
#> 15         pelt     fit_meanshift_norm     Manual
#> 16         pelt            fit_meanvar     Manual
#> 17         pelt     fit_meanshift_norm      CROPS
#> 18         pelt            fit_meanvar      CROPS
#> 19       binseg            fit_meanvar       None
#> 20     segneigh            fit_meanvar       None
#> 21  single-best            fit_meanvar       None
#> 22       binseg            fit_meanvar        SIC
#> 23     segneigh            fit_meanvar        SIC
#> 24  single-best            fit_meanvar        SIC
#> 25       binseg            fit_meanvar        BIC
#> 26     segneigh            fit_meanvar        BIC
#> 27  single-best            fit_meanvar        BIC
#> 28       binseg            fit_meanvar       MBIC
#> 29     segneigh            fit_meanvar       MBIC
#> 30  single-best            fit_meanvar       MBIC
#> 31       binseg            fit_meanvar        AIC
#> 32     segneigh            fit_meanvar        AIC
#> 33  single-best            fit_meanvar        AIC
#> 34       binseg            fit_meanvar        HQC
#> 35     segneigh            fit_meanvar        HQC
#> 36  single-best            fit_meanvar        HQC
#> 37       binseg            fit_meanvar Asymptotic
#> 38     segneigh            fit_meanvar Asymptotic
#> 39  single-best            fit_meanvar Asymptotic
#> 40       binseg            fit_meanvar     Manual
#> 41     segneigh            fit_meanvar     Manual
#> 42  single-best            fit_meanvar     Manual
#> 43       binseg            fit_meanvar      CROPS
#> 44     segneigh            fit_meanvar      CROPS
#> 45  single-best            fit_meanvar      CROPS
#> 46           ga            fit_lmshift        SIC
#> 47       random            fit_lmshift        SIC
#> 48           ga        fit_lmshift_ar1        SIC
#> 49       random        fit_lmshift_ar1        SIC
#> 50           ga    fit_meanshift_lnorm        SIC
#> 51       random    fit_meanshift_lnorm        SIC
#> 52           ga     fit_meanshift_norm        SIC
#> 53       random     fit_meanshift_norm        SIC
#> 54           ga fit_meanshift_norm_ar1        SIC
#> 55       random fit_meanshift_norm_ar1        SIC
#> 56           ga            fit_meanvar        SIC
#> 57       random            fit_meanvar        SIC
#> 58           ga               fit_nhpp        SIC
#> 59       random               fit_nhpp        SIC
#> 60           ga         fit_trendshift        SIC
#> 61       random         fit_trendshift        SIC
#> 62           ga     fit_trendshift_ar1        SIC
#> 63       random     fit_trendshift_ar1        SIC
#> 64           ga            fit_lmshift        AIC
#> 65       random            fit_lmshift        AIC
#> 66           ga        fit_lmshift_ar1        AIC
#> 67       random        fit_lmshift_ar1        AIC
#> 68           ga    fit_meanshift_lnorm        AIC
#> 69       random    fit_meanshift_lnorm        AIC
#> 70           ga     fit_meanshift_norm        AIC
#> 71       random     fit_meanshift_norm        AIC
#> 72           ga fit_meanshift_norm_ar1        AIC
#> 73       random fit_meanshift_norm_ar1        AIC
#> 74           ga            fit_meanvar        AIC
#> 75       random            fit_meanvar        AIC
#> 76           ga               fit_nhpp        AIC
#> 77       random               fit_nhpp        AIC
#> 78           ga         fit_trendshift        AIC
#> 79       random         fit_trendshift        AIC
#> 80           ga     fit_trendshift_ar1        AIC
#> 81       random     fit_trendshift_ar1        AIC
#> 82           ga            fit_lmshift        BIC
#> 83       random            fit_lmshift        BIC
#> 84           ga        fit_lmshift_ar1        BIC
#> 85       random        fit_lmshift_ar1        BIC
#> 86           ga    fit_meanshift_lnorm        BIC
#> 87       random    fit_meanshift_lnorm        BIC
#> 88           ga     fit_meanshift_norm        BIC
#> 89       random     fit_meanshift_norm        BIC
#> 90           ga fit_meanshift_norm_ar1        BIC
#> 91       random fit_meanshift_norm_ar1        BIC
#> 92           ga            fit_meanvar        BIC
#> 93       random            fit_meanvar        BIC
#> 94           ga               fit_nhpp        BIC
#> 95       random               fit_nhpp        BIC
#> 96           ga         fit_trendshift        BIC
#> 97       random         fit_trendshift        BIC
#> 98           ga     fit_trendshift_ar1        BIC
#> 99       random     fit_trendshift_ar1        BIC
#> 100          ga            fit_lmshift        HQC
#> 101      random            fit_lmshift        HQC
#> 102          ga        fit_lmshift_ar1        HQC
#> 103      random        fit_lmshift_ar1        HQC
#> 104          ga    fit_meanshift_lnorm        HQC
#> 105      random    fit_meanshift_lnorm        HQC
#> 106          ga     fit_meanshift_norm        HQC
#> 107      random     fit_meanshift_norm        HQC
#> 108          ga fit_meanshift_norm_ar1        HQC
#> 109      random fit_meanshift_norm_ar1        HQC
#> 110          ga            fit_meanvar        HQC
#> 111      random            fit_meanvar        HQC
#> 112          ga               fit_nhpp        HQC
#> 113      random               fit_nhpp        HQC
#> 114          ga         fit_trendshift        HQC
#> 115      random         fit_trendshift        HQC
#> 116          ga     fit_trendshift_ar1        HQC
#> 117      random     fit_trendshift_ar1        HQC
#> 118          ga            fit_lmshift       MBIC
#> 119      random            fit_lmshift       MBIC
#> 120          ga        fit_lmshift_ar1       MBIC
#> 121      random        fit_lmshift_ar1       MBIC
#> 122          ga    fit_meanshift_lnorm       MBIC
#> 123      random    fit_meanshift_lnorm       MBIC
#> 124          ga     fit_meanshift_norm       MBIC
#> 125      random     fit_meanshift_norm       MBIC
#> 126          ga fit_meanshift_norm_ar1       MBIC
#> 127      random fit_meanshift_norm_ar1       MBIC
#> 128          ga            fit_meanvar       MBIC
#> 129      random            fit_meanvar       MBIC
#> 130          ga               fit_nhpp       MBIC
#> 131      random               fit_nhpp       MBIC
#> 132          ga         fit_trendshift       MBIC
#> 133      random         fit_trendshift       MBIC
#> 134          ga     fit_trendshift_ar1       MBIC
#> 135      random     fit_trendshift_ar1       MBIC
#> 136          ga            fit_lmshift        MDL
#> 137      random            fit_lmshift        MDL
#> 138          ga        fit_lmshift_ar1        MDL
#> 139      random        fit_lmshift_ar1        MDL
#> 140          ga    fit_meanshift_lnorm        MDL
#> 141      random    fit_meanshift_lnorm        MDL
#> 142          ga     fit_meanshift_norm        MDL
#> 143      random     fit_meanshift_norm        MDL
#> 144          ga fit_meanshift_norm_ar1        MDL
#> 145      random fit_meanshift_norm_ar1        MDL
#> 146          ga            fit_meanvar        MDL
#> 147      random            fit_meanvar        MDL
#> 148          ga               fit_nhpp        MDL
#> 149      random               fit_nhpp        MDL
#> 150          ga         fit_trendshift        MDL
#> 151      random         fit_trendshift        MDL
#> 152          ga     fit_trendshift_ar1        MDL
#> 153      random     fit_trendshift_ar1        MDL
#> 154         wbs                   <NA>       <NA>
#> 155      ga-shi fit_meanshift_norm_ar1        BIC
#> 156     ga-coen               fit_nhpp       BMDL
#> 157        coen               fit_nhpp       BMDL
#> 158      manual     fit_meanshift_norm        BIC
#> 159        null     fit_meanshift_norm        BIC