# NOT RUN {
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qf
vfd(3, df1 = 1, df2 = 2, ncp = 10)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qf
vfd(3, 5, 5, stream = 1)
vfd(3, 5, 5, stream = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qf
vfd(1, 5, 5, stream = 1)
vfd(1, 5, 5, stream = 2)
vfd(1, 5, 5, stream = 1)
vfd(1, 5, 5, stream = 2)
vfd(1, 5, 5, stream = 1)
vfd(1, 5, 5, stream = 2)
set.seed(8675309)
variates <- vfd(1000, 5, 5, stream = 1)
set.seed(8675309)
variates <- vfd(1000, 5, 5, stream = 1, antithetic = TRUE)
# }
Run the code above in your browser using DataLab