spdplyr-package | R Documentation |
Data Manipulation Verbs for Spatial Classes.
The spdplyr package provides methods for the dplyr verbs.
filter | filter |
slice | slice |
arrange | arrange |
select | select |
rename | rename |
distinct | distinct |
mutate | mutate |
transmute | transmute |
group_by | group_by |
summarise | summarise (or summarize) |
dplyr verbs operating directly on Spatial objects
The implementation of group_by
requires that sp objects are able use the object extending class "data.frame",
summarise
acts on the attributes in the table according to the expressions use and on the geometry by performing a non-topological union.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.