sim_env: Simulate a random walk with env't-varying autocorrelation

Description Usage Arguments Value

View source: R/sim_env.R

Description

Simulate a random walk with env't-varying autocorrelation

Usage

1
sim_env(g, sigma = c(0.01, 0.01), rho = 0, tstep = 0.5)

Arguments

g

vector of gamma values

tstep

increment, in days, in time-series

Sigma

covar matrix for RW process

Value

a dataframe with components:

dates

timestamps for each location

lon

longitude without obs error

lat

latitude without obs error

gamma

autocorrelations


ianjonsen/bssm documentation built on July 3, 2017, 10:33 p.m.