View source: R/hypervolume_expectation.R
expectation_ball | R Documentation |
Generates expectation hypervolume corresponding to a hypersphere that minimally encloses the data.
expectation_ball(input, point.density = NULL, num.samples = NULL,
use.random = FALSE)
input |
A m x n matrix or data frame, where m is the number of observations and n is the dimensionality. |
point.density |
The point density of the output expectation. If |
num.samples |
The number of points in the output expectation. If |
use.random |
If |
A Hypervolume-class
object corresponding to the expectation.
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")]
e_ball <- expectation_ball(penguins_adelie)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.