tests/hitch.R

options(digits=3)

library(pomp2)
library(magrittr)

try(hitch())

hitch(templates=pomp2:::workhorse_templates)

try(hitch(templates=pomp2:::workhorse_templates,
  statenames=c("a","b"),paramnames=c("b","c")))

hitch(step.fn=Csnippet("int bob; bob = 3"),
  templates=pomp2:::workhorse_templates,
  compile=FALSE,cfile="bob") %>% names()
marvellous122/R-to-JS documentation built on May 20, 2019, 9:55 a.m.