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 Aug. 8, 2023, 9:06 a.m.