set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlogis
vlogis(3, location = 5, scale = 0.5)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlogis
vlogis(3, 5, 1.5, stream = 1)
vlogis(3, 5, 1.5, stream = 2)
set.seed(8675309)
# NOTE: following inverts rstream::rstream.sample using stats::qlogis
vlogis(1, 5, 1.5, stream = 1)
vlogis(1, 5, 1.5, stream = 2)
vlogis(1, 5, 1.5, stream = 1)
vlogis(1, 5, 1.5, stream = 2)
vlogis(1, 5, 1.5, stream = 1)
vlogis(1, 5, 1.5, stream = 2)
set.seed(8675309)
variates <- vlogis(100, 5, 1.5, stream = 1)
set.seed(8675309)
variates <- vlogis(100, 5, 1.5, stream = 1, antithetic = TRUE)
Run the code above in your browser using DataLab