| derivePoints | R 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.
derivePoints(
  data,
  lng = NULL,
  lat = NULL,
  missingLng = missing(lng),
  missingLat = missing(lat),
  funcName = "f"
)
derivePolygons(
  data,
  lng = NULL,
  lat = NULL,
  missingLng = missing(lng),
  missingLat = missing(lat),
  funcName = "f"
)
| data | map data | 
| lng,lat | longitude and latitude | 
| missingLng | whether lng is missing | 
| missingLat | whether lat is missing | 
| funcName | Name of calling function (for logging) | 
derivePoints() returns a lng/lat data frame.
derivePolygons() returns a list with bbox attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.