R/rlog.R

Defines functions .rlog

.rlog <- function(n,p,M=10000) sample(1:M,n,TRUE,.dlog(1:M,p))

Try the hhsmm package in your browser

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

hhsmm documentation built on May 29, 2024, 6:08 a.m.