Skip to contents

This function generates a dataset representing a cube with a hole.

Usage

gen_unifcubehole(n = 5000, p = 4, r_hole = 0.5)

Arguments

n

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

p

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

r_hole

A numeric value (default: 0.5) representing the radius of the hole.

Value

A data containing the cube data with a hole.

Examples

set.seed(20240412)
cubehole <- gen_cubehole(n = 1000, p = 4)
#> Error in gen_cubehole(n = 1000, p = 4): could not find function "gen_cubehole"