R/rtrf.R

Defines functions rtrf

Documented in rtrf

rtrf <- function(x, theta = seq(-4, 4, length = 100)){

  out <- list(theta = theta)
  out$p <- apply(rbind(rirf(x, theta)$p), 1, sum)

  class(out) <- "rtrf"

  return(out)
}

Try the Rwinsteps package in your browser

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

Rwinsteps documentation built on May 2, 2019, 1:08 p.m.