gen_unifcubehole: Generate Cube with Hole

View source: R/cube.R

gen_unifcubeholeR Documentation

Generate Cube with Hole

Description

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_unifcubehole(n = 1000, p = 4)

cardinalR documentation built on Dec. 15, 2025, 5:07 p.m.