ssh.data.shp | R Documentation |
Join a candidate SSH layer to an existing layer for the geographical detector model.
ssh.data.shp(object,
ssh.lyr,
ssh.id,
ssh.name=NULL)
object |
A point |
ssh.lyr |
A polygon |
ssh.id |
Text for the field name of stratum ID in the SSH layer. |
ssh.name |
Text for the new field name assigned to the stratum ID in the output object. If |
An sf
object with the sampling units and the Strata they fall into.
library(sf)
library(tools)
data(sim.data)
sim.join <- ssh.data.shp(object=sim.data[[1]], ssh.lyr=sim.data[[2]], ssh.id="X")
head(sim.join)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.