set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlnorm
vlnorm(3, meanlog = 5, sdlog = 0.5)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlnorm
vlnorm(3, 8, 2, stream = 1)
vlnorm(3, 8, 2, stream = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlnorm
vlnorm(1, 8, 2, stream = 1)
vlnorm(1, 8, 2, stream = 2)
vlnorm(1, 8, 2, stream = 1)
vlnorm(1, 8, 2, stream = 2)
vlnorm(1, 8, 2, stream = 1)
vlnorm(1, 8, 2, stream = 2)
set.seed(8675309)
variates <- vlnorm(100, 8, 2, stream = 1)
set.seed(8675309)
variates <- vlnorm(100, 8, 2, stream = 1, antithetic = TRUE)
Run the code above in your browser using DataLab