weierstrass: Single parameter Weierstrass function model.

Description Usage Arguments Value

View source: R/simulations.R

Description

Creates a model for a Weierstrass or random phase Weierstrass function with single parameter a. The resulting function is a-Holder continuous. If random, theu function is evaluated on (1,n), otherwise on (0,1),

Usage

1
weierstrass(a, b = 0, c = 2, random = TRUE, density = 1)

Arguments

a

The holder constant of the function. Equal to -log(a)/log(b) for the two parameter Weierstrass. If b is zero, this is the amplitude pameter of the two parameter Weierstrass function.

b

The frequencies parameter. If zero the single parameter Weierstrass function is used.

c

The amplitude parameter.

random

If true generates a random phase model.

density

Density of the grid on which the function is computed. For example, if density = 100 then on (0,1) 100 points are computed.

Value

The parametrized model.


nwaff/tssims documentation built on May 24, 2019, 6:13 a.m.