Skip to contents

This function generates a dataset representing a structure with a sphere with points on the surface.

Usage

gen_hollowsphere(n = 500, p = 4)

Arguments

n

A numeric value (default: 500) representing the sample size.

p

A numeric value (default: 4) representing the number of dimensions.

Value

A data containing a hollow sphere.

Examples

set.seed(20240412)
hollowsphere <- gen_hollowsphere(n = 500)
#> Error in sphere.hollow(n = n, p = p): could not find function "sphere.hollow"