quant: Sample quantile of distance for ltraj object

View source: R/fcts packages.R

quantR Documentation

Sample quantile of distance for ltraj object

Description

Wrapper function that extract the sample quantile of distance of a trajectory object

Usage

quant(x, p = 0.5)

Arguments

x

A ltraj object

p

Probability, default=0.5 (median)

Value

A vector of length p

Examples

traj1<-sim_mov(type="OU", npatches=3, grph=T)
stck<-adj2stack(traj2adj(traj1, res=quant(traj1)), grph=T)

BastilleRousseau/moveNT documentation built on Aug. 26, 2023, 5:54 a.m.