vsk_rvs: Generating random numbers for the Vasicek distribution

Description Usage Arguments Value Examples

View source: R/vsk_rvs.R

Description

The function vsk_rvs generates random numbers for the Vasicek distribution.

Usage

1
vsk_rvs(n, Rho, P, seed = 1)

Arguments

n

An integer for the number of observations.

Rho

The Rho parameter in the Vasicek distribution. It is in the range of (0, 1).

P

The P parameter in the Vasicek distribution. It is in the range of (0, 1).

seed

An integer that is used as the seed value to generate random numbers.

Value

A list of random number that follows the Vasicek distribution.

Examples

1
vsk_rvs(10, Rho = 0.2, P = 0.1)

vasicek documentation built on Nov. 9, 2020, 9:07 a.m.

Related to vsk_rvs in vasicek...