SimTentFn: Simulate tent function

Description Usage Arguments Value Author(s) Examples

View source: R/SimTentFn.R

Description

This simulates time series data from a tent function, a simple functionm that generates 'nonlinear' dynamics

Usage

1
  SimTentFn(Nobs, S)

Arguments

Nobs

Time series length

S

Tent height (producing non-linear dynamics given S>1.75)

Value

Generates a vector of observations

Author(s)

James Thorson

Examples

1
2
3
4
5
# Time series length
Nobs = 100

# Generate tent function timeseries
Y = SimTentFn(Nobs=Nobs, S=1.75)

nwfscNLTS documentation built on May 2, 2019, 4:31 p.m.