simulateCTMC2: Simulate CTMCdive data

View source: R/simulate.R

simulateCTMC2R Documentation

Simulate CTMCdive data

Description

Simulate CTMCdive data

Usage

simulateCTMC2(
  dive_fn,
  surf_fn,
  T,
  dt,
  kappa = list(dive = 1, surf = 1),
  sd = NULL,
  print = TRUE
)

Arguments

dive_fn

function that given a vector of times computes dive intensity at those times

surf_fn

function that given a vector of times computes surface intensity at those times

dt

time step for simulation

n

number of dive-surfacings to simulate

Value

CTMC dataset


r-glennie/CTMCdive documentation built on July 3, 2023, 11:01 p.m.