terra::aggregate
How terra runs Dissolve: terra::aggregate.
| Engine | terra |
|---|---|
| Tool name | terra::aggregate |
| Interface | r |
| Implements | Dissolve |
| Variant of | terra-aggregate |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | S4 generic: parameters gathered from all its methods; each method takes a subset. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
x | any | yes | Not stated | Not stated | Not stated |
... | dots | no | Not stated | Not stated | further arguments passed on |
fact | any | no | 2 | Not stated | Not stated |
fun | any | no | "mean" | Not stated | Not stated |
cores | any | no | 1 | Not stated | Not stated |
filename | any | no | "" | Not stated | Not stated |
overwrite | any | no | FALSE | Not stated | Not stated |
wopt | any | no | list() | Not stated | Not stated |
by | any | no | NULL | Not stated | Not stated |
dissolve | any | no | TRUE | Not stated | Not stated |
count | any | no | TRUE | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | x | Not stated |
by | by | Not stated |
Differences from the operation
- On a SpatVector, dissolve = TRUE (the default) merges the shapes of each group; without by, everything becomes one.
Harvested by the r-packages harvester from engine version
1.9.50. Names can change when an engine is harvested again.