inst/doc/localfdr-intro-vignette.R

## ------------------------------------------------------------------------
library("LocFDRPois")
n0 <- 900
n1 <- 100
lambda0 <- 1
lambda1 <- 10
sim_data <- c(rpois(n0, lambda0), rpois(n1, lambda1))

## ------------------------------------------------------------------------
SummarizeLocfdr(sim_data)

Try the LocFDRPois package in your browser

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

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