Learn R Programming

ecd (version 0.9.2.4)

lamp.simulate1: Simulate one sequence of lambda process from stable distribution

Description

Simulate lambda process from one random sequence representing the stable random walk process.

Usage

lamp.simulate1(object, drop = 10, keep.tau = 1)

Arguments

object

an object of lamp class

drop

numeric, number of tau to discard at the end. Default is 10.

keep.tau

numeric, 0 to clean up, 1 to return unused tau, 2 to return all tau. Default is 1.

Value

an object of lamp class with Z, B, N populated

Examples

Run this code
# NOT RUN {
lp <- lamp(4, T.inf=8640, rnd.n=100000)
lp1 <- lamp.simulate1(lp)

# }

Run the code above in your browser using DataLab