BrownianPath.BrownianInsertor: Generate a Brownian path

Description Usage Arguments Value Author(s) See Also Examples

Description

Generate a Brownian path.

This method generates a Brownian path given the scale parameter a (determining "noisiness") and the vector p describing the trends. More useful as a static method.

Usage

1
2
## S3 method for class 'BrownianInsertor'
BrownianPath(this, p=NA, a=NA, ...)

Arguments

this

A BrownianInsertor object.

p

Path parameter (a numeric vector).

a

Scale paramater (a numeric vector of length one).

...

Not used.

Value

A numeric vector.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see BrownianInsertor.

Examples

1
2
3
4
	path<-BrownianInsertor$BrownianPath(a=2,p=1:10);
	path
	plot(path)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.