gen_unifsphere | R Documentation |
This function generates a dataset representing a structure with a uniform sphere.
gen_unifsphere(n = 500, p = 4, r = 1)
n |
A numeric value (default: 500) representing the sample size. |
p |
A numeric value (default: 4) representing the number of dimensions. |
r |
A numeric vector (default: 1) representing the radius of the sphere. |
A data containing a uniform sphere.
set.seed(20240412)
unifsphere <- gen_unifsphere(n = 500, p = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.