resample: resample a bunch of flight trajectories

View source: R/resample.R

resampleR Documentation

resample a bunch of flight trajectories

Description

Each flight trajectory 4D positions are linearly interpolated at interval seconds. First and last positions are retained.

Usage

resample(df, interval = 1L)

Arguments

df

a data frame of flight trajectories, each identified by its own flight_id

interval

the amount of seconds to resample to

Value

a data frame of interpolated 4D positions at interval seconds

Examples

## Not run: 
poss |>
  resample(300L)

## End(Not run)

euctrl-pru/trrrj documentation built on April 11, 2025, 3:36 p.m.