derivePoints: Given a data object and lng/lat arguments (which may be NULL...

View source: R/normalize.R

derivePointsR Documentation

Given a data object and lng/lat arguments (which may be NULL [meaning infer from data], formula [which should be evaluated with respect to the data], or vector data [which should be used as-is]) return a lng/lat data frame.

Description

Given a data object and lng/lat arguments (which may be NULL [meaning infer from data], formula [which should be evaluated with respect to the data], or vector data [which should be used as-is]) return a lng/lat data frame.

Usage

derivePoints(
  data,
  lng = NULL,
  lat = NULL,
  missingLng = missing(lng),
  missingLat = missing(lat),
  funcName = "f"
)

Arguments

data

map data

lng

longitude

lat

latitude

missingLng

whether lng is missing

missingLat

whether lat is missing

funcName

Name of calling function (for logging)


leaflet documentation built on March 24, 2022, 1:05 a.m.