vms_filter_data: Filter standardized vms dataframe

Description Usage Arguments Value

Description

Take a standarized vms dataframe and filters data not within any of the specified boundarise of longitude, latitude, date and speed. The user can specify the filter on one variable or all. Those not specified will not be affected.

Usage

1
vms_filter_data(d, lon.lim, lat.lim, date.lim, speed.lim)

Arguments

d

Standardized vms data frame

lon.lim

A vector of two value, the lower and upper longitudinal range to be retained.

lat.lim

A vector of two value, the lower and upper latitudinal range to be retained.

date.lim

A vector of two value, the lower and upper date range to be retained. The vector has to be on the format of c("yyyy-mm-dd hh:mm:ss", "yyyy-mm-dd hh:mm:ss")

speed.lim

A vector of two value, the lower and upper speed range to be retained.

Value

A dataframe


fishvice/ghsllr documentation built on May 24, 2019, 1:36 a.m.