R/get_p0_funs.R

Defines functions get_p0_funs

get_p0_funs <- function(twig_obj, type = NULL) {

  states <- retrieve_layer_by_type(twig_obj, type = "states")
  filter_functions(states$init_probs, is_prob_payoff = FALSE)
}

Try the twig package in your browser

Any scripts or data that you put into this service are public.

twig documentation built on April 12, 2025, 2:08 a.m.