tests/testthat/user_fns.R

squarepulse <- function(t, t0, t1) {
  t >= t0 && t < t1
}

Try the odin package in your browser

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

odin documentation built on April 28, 2022, 9:05 a.m.