Closed beanumber closed 2 months ago
library(tidyverse) library(tidychangepoint) intersect( methods(class = "mod_default") |> attr("info") |> pull("generic"), methods(class = "cpt") |> attr("info") |> pull("generic") ) #> [1] "as.ts" "changepoints" "glance" "logLik" "model_name" #> [6] "nobs"
Created on 2024-04-24 with reprex v2.1.0
library(tidyverse) library(tidychangepoint) setdiff( methods(class = "cpt") |> attr("info") |> filter(!isS4) |> pull("generic"), methods(class = "mod_default") |> attr("info") |> pull("generic") ) #> [1] "fitness" "model_args" "params"
Created on 2024-04-24 with reprex v2.1.0
Created on 2024-04-24 with reprex v2.1.0