# NOT RUN {
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qweibull
vweibull(3, shape = 2, scale = 1)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qweibull
vweibull(3, 2, 1, stream = 1)
vweibull(3, 2, 1, stream = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qweibull
vweibull(1, 2, 1, stream = 1)
vweibull(1, 2, 1, stream = 2)
vweibull(1, 2, 1, stream = 1)
vweibull(1, 2, 1, stream = 2)
vweibull(1, 2, 1, stream = 1)
vweibull(1, 2, 1, stream = 2)
set.seed(8675309)
variates <- vweibull(1000, 2, 1, stream = 1)
set.seed(8675309)
variates <- vweibull(1000, 2, 1, stream = 1, antithetic = TRUE)
# }
Run the code above in your browser using DataLab