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 Sept. 11, 2024, 7:34 p.m.