Learn R Programming

yuima (version 1.15.34)

LawMethods: Methods for an Object of Class yuima.law

Description

Methods for an object of class yuima.law.

Usage

rand(object, n, param, ...)
dens(object, x, param, log = FALSE, ...)
cdf(object, q, param, ...)
quant(object, p, param, ...)

Value

rand

returns a vector of random numbers.

dens

returns the density at x.

cdf

returns the cumulative distribution function at q.

quant

returns the quantile function at p.

Arguments

object

an object of class yuima.law

n

sample size of random number to be generated by means of the method rand.

param

vector containing model parameters

...

additional arguments.

x

vector containing values for the evaluation of the density using the method dens.

log

logical variable. If TRUE the method dens returns the log density at x

q

a vector for the evaluation of the cdf.

p

a set of probabilities for the evaluation of the quantile function.

Author

YUIMA TEAM