dsdive.observe: Simulate observing a fully observed dive trajectory at...

Description Usage Arguments Examples

View source: R/dsdive.observe.R

Description

Given the components of a completely observed dive trajectory, extract the depth and stage of a trajectory at the target times t.obs.

Usage

1
dsdive.observe(depths, times, stages, t.obs)

Arguments

depths

Complete record of depth bin indices visited

times

Times at which each of depths was visited

stages

Stages at which each of the depths was visited

t.obs

Times at which the trajectory should be observed

Examples

1
2
3
4
5
6
7
8
data('dive.sim')
attach(dive.sim)

obs = dsdive.observe(depths = sim$depths, times = sim$times, 
                     stages = sim$stages, 
                     t.obs = seq(from = 0, to = max(sim$times)+60, by = 60))

detach(dive.sim)

jmhewitt/dsdive documentation built on May 29, 2020, 5:18 p.m.