powered by
Get random sample from a unuran object in package Runuran.
unuran
[Universal] -- Sampling Function.
ur(unr, n=1) unuran.sample(unr, n=1)
a unuran object.
sample size.
runif and .Random.seed about random number generation, '>unuran for the UNU.RAN class.
runif
.Random.seed
'>unuran
# NOT RUN { ## Draw random sample of size 10 from normal distribution using ## method 'TDR' unr <- unuran.new("normal","tdr") x <- ur(unr,n=10) # }
Run the code above in your browser using DataLab