sim_old: Simulate a random walk with time-varying autocorrelation

Description Usage Arguments Value

View source: R/sim_old.r

Description

Simulate a random walk with time-varying autocorrelation

Usage

1
2
3
sim_old(Nt = 100, sigma_g = 0.2, sigma = c(0.2, 0.2), rho = 0,
  tstep = 0.5, error = TRUE, tau = c(0.1, 0.1), amf = amfCRAWL(),
  nu = 5)

Arguments

Nt

number of time steps to simulate

sigma_g

sd of the AR(1) time-series for g

tstep

increment, in days, in time-series

nu

t-distbrution df for all locations

Sigma

covar matrix for RW process

err

logical, add Argos observation error to simulated time-series

Value

a dataframe with components:

dates

timestamps for each location

lon

longitude without obs error

lat

latitude without obs error

lon.obs

longitude with obs error

lat.obs

longitude with obs error

lc

ARGOS location class

gamma

autocorrelations


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