An sf object with the sampling units and the Strata they fall into.
Arguments
object
A point sf object to be joint. Its geometry should be consistent with the sampling layer, but it may have additional attributes from the SSH layer(s).
ssh.lyr
A polygon sf object used as the candidate SSH layer. Its stratum ID will be linked to object.
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 NULL, the attribute name will be the same as that in the old SSH layer.