df_qc_spatial: df_qc_spatial

Description Usage Arguments Value Author(s) See Also

Description

This function drops points that can't be plotted from a data frame.

Usage

1
2
df_qc_spatial(df, lat.field = "LATITUDE", lon.field = "LONGITUDE",
  return.bad = FALSE)

Arguments

df

the dataframe to be cleaned

lat.field

default is LATITUDE. The field in the dataframe holding the latitudes

lon.field

default is LONGITUDE. The field in the dataframe holding the longitudes

return.bad

the default is FALSE. Normally, only the plottable points are returned. If TRUE, only the rejected points are returned.

Value

data.frame contents depend of the return.bad parameter

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca

See Also

Other plotting: add_points, make_basemap


Maritimes/bio.plotting documentation built on May 28, 2019, 8:22 a.m.