centroidiam | R Documentation |
Computes the centroid and diameter of each individual polygon in a multi-polygon owin
object.
centroidiam(ventana1)
ventana1 |
A multiple-polygon window with the format |
Iteratively applies the functions centroid.owin
and diameter
of spatstat to each polygon in the multipolygon owin
and computes its centroid and its diameter.
diams |
Vector of diameters |
centroids |
Matrix with the coordinates of the centroids |
Marcelino de la Cruz Rot
data(Astragalus)
X<-centroidiam(Astragalus)
X$centroids
X$diams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.