powered by
The function vsk_rvs generates random numbers for the Vasicek distribution.
vsk_rvs
vsk_rvs(n, Rho, P, seed = 1)
An integer for the number of observations.
The Rho parameter in the Vasicek distribution. It is in the range of (0, 1).
The P parameter in the Vasicek distribution. It is in the range of (0, 1).
An integer that is used as the seed value to generate random numbers.
A list of random number that follows the Vasicek distribution.
# NOT RUN { vsk_rvs(10, Rho = 0.2, P = 0.1) # }
Run the code above in your browser using DataLab