hypervolume | R Documentation |
Constructs hypervolumes using one of several possible methods after error-checking input data.
hypervolume(data, method = "gaussian", ...)
data |
A m x n matrix or data frame, where m is the number of observations and n is the dimensionality. |
method |
One of |
... |
Further arguments passed to |
Checks for collinearity, missingness of input data, and appropriate random point coverage. Generates warning/errors as appropriate.
A Hypervolume-class
object corresponding to the inferred hypervolume.
weight_data
, estimate_bandwidth
, expectation_convex
, expectation_ball
, expectation_box
, hypervolume_threshold
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(penguins_adelie,method='box')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.