spm_as_boundary | R Documentation |
Create a sspm_boundary object. A boundary object serves as a basis to encode the spatial extent of the model.
spm_as_boundary(
boundaries,
boundary,
patches = NULL,
points = NULL,
boundary_area = NULL,
patch_area = NULL
)
## S4 method for signature 'missing,ANY,ANY,ANY'
spm_as_boundary(
boundaries,
boundary,
patches = NULL,
points = NULL,
boundary_area = NULL,
patch_area = NULL
)
## S4 method for signature 'ANY,missing,ANY,ANY'
spm_as_boundary(
boundaries,
boundary,
patches = NULL,
points = NULL,
boundary_area = NULL,
patch_area = NULL
)
## S4 method for signature 'sf,character,missing,missing'
spm_as_boundary(
boundaries,
boundary,
patches = NULL,
points = NULL,
boundary_area = NULL,
patch_area = NULL
)
## S4 method for signature 'sf,character,ANY,ANY'
spm_as_boundary(
boundaries,
boundary,
patches = NULL,
points = NULL,
boundary_area = NULL,
patch_area = NULL
)
boundaries |
[sf] The sf object to cast. |
boundary |
[character] The column that contains the possible subdivisions of the boundaries. |
patches |
[sf] Patches resulting from discretization. |
points |
[sf] Sample points used for discretization. |
boundary_area |
[character] The column that contains the area of the subdivisions (optional). |
patch_area |
[character] The column that contains the area of the patches (optional). |
An object of class sspm_boundary or sspm_discrete_boundary.
sfa_boundaries
bounds <- spm_as_boundary(boundaries = sfa_boundaries,
boundary = "sfa")
plot(bounds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.