beanumber / tidychangepoint

Changepoint detection with a tidy interface
https://beanumber.github.io/tidychangepoint/
GNU General Public License v3.0
1 stars 1 forks source link

methods that models must implement #93

Closed beanumber closed 5 months ago

beanumber commented 5 months ago
library(tidyverse)
library(tidychangepoint)
setdiff(
  methods(class = "mod_default") |> attr("info") |> pull("generic"),
  methods(class = "cpt") |> attr("info") |> filter(!isS4) |> pull("generic")
)
#> [1] "augment"   "coef"      "fitted"    "plot"      "residuals" "tidy"

Created on 2024-04-24 with reprex v2.1.0

See also #92