gen_unifcube: Generate Cube with uniform points

View source: R/cube.R

gen_unifcubeR Documentation

Generate Cube with uniform points

Description

This function generates a grid dataset with specified uniform points along each axes..

Usage

gen_unifcube(n = 500, p = 4)

Arguments

n

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

p

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

Value

A data containing the cube with uniform points.

Examples

set.seed(20240412)
unifcube <- gen_unifcube(n = 500, p = 4)

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