make_start: Create an initial step for simulations

View source: R/simulate.R

make_startR Documentation

Create an initial step for simulations

Description

An initial step for simulations. This step can either be created by defining a step from scratch or by using an observed step.

Usage

make_start(x, ...)

## S3 method for class 'numeric'
make_start(
  x = c(0, 0),
  ta_ = 0,
  time = Sys.time(),
  dt = hours(1),
  crs = NA,
  ...
)

## S3 method for class 'track_xyt'
make_start(x, ta_ = 0, dt = hours(1), ...)

## S3 method for class 'steps_xyt'
make_start(x, ...)

Arguments

x

⁠[steps_xyt,numeric(2)]⁠
A step of class steps_xyt or the start coordinates..

...

Further arguments, none implemented.

ta_

⁠[numeric(1)]{0}⁠
The initial turn-angle.

time

⁠[POSIXt(1)]{Sys.time()}⁠
The time stamp when the simulation starts.

dt

⁠[Period(1)]{hours(1)}⁠
The sampling rate of the simulations.

crs

⁠[int(1)]{NA}⁠
The coordinate reference system of the start location given as EPSG code.


amt documentation built on June 25, 2024, 1:14 a.m.