convertMesh | R Documentation |
Converts cell meshes using cellID centroids from meshToConvert and returns cellIDs from meshToMatch.
convertMesh( meshToMatch, meshToConvert, returnOriginalCellIDs = FALSE, joinBy = "cellID", output = "SpatVector" )
meshToMatch |
polygon mesh to be subset. Must have "cellID" column. |
meshToConvert |
polygon mesh to be returned. Must have "cellID" column. |
returnOriginalCellIDs |
should MeshToMatch cellIDs be returned? |
joinBy |
name of column used to link meshes |
output |
type of output desired. can be either "SpatVector" or "df" for dataframe |
a SpatVector or dataframe with the cellIDs in meshToMatch that
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.