R/hppSimulate.R

Defines functions hppSimulate

Documented in hppSimulate

hppSimulate <-
function(lambda, maxVal) {
	nEvents = rpois(1, lambda*maxVal)
	hppEvents = runif(nEvents, min=0, max=maxVal)
	return(hppEvents)
}

Try the SeqCNVCBS package in your browser

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

SeqCNVCBS documentation built on May 2, 2019, 6:51 p.m.