gen_cone | R Documentation |
This function generates a dataset representing a cone with the option of a sharp or blunted apex.
gen_cone(n = 500, p = 4, h = 5, ratio = 0.5)
n |
A numeric value (default: 500) representing the sample size. |
p |
A numeric value (default: 4) representing the number of dimensions. |
h |
A numeric value (default: 5) representing the h of the cone. |
ratio |
A numeric value (default: 0.5) representing the radius tip to radius base ratio of the cone. Should be less than 1. |
A data containing the cone with the option of a sharp or blunted apex.
set.seed(20240412)
cone <- gen_cone(n = 500, p = 4, h = 5, ratio = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.