gen_cubehole: Generate Cube with Hole

View source: R/cube.R

gen_cubeholeR Documentation

Generate Cube with Hole

Description

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

Usage

gen_cubehole(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 the cube data with a hole.

Examples

set.seed(20240412)
cubehole <- gen_cubehole(n = 1000, p = 4)

cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.