get_centroid | R Documentation |
Returns the column mean of the random points in each hypervolume.
get_centroid(hv)
hv |
A |
Either a vector or a matrix of column of centroid values along each axis.
## Not run:
data(penguins,package='palmerpenguins')
penguins_no_na = as.data.frame(na.omit(penguins))
penguins_adelie = penguins_no_na[penguins_no_na$species=="Adelie",
c("bill_length_mm","bill_depth_mm","flipper_length_mm")]
hv = hypervolume_gaussian(penguins_adelie)
get_centroid(hv)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.