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 4, 2025, 4:58 a.m.