gen_gridcube: Generate Cube with grid points

View source: R/cube.R

gen_gridcubeR Documentation

Generate Cube with grid points

Description

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

Usage

gen_gridcube(n = 500, p = 4)

Arguments

n

An integer vector (default: 500) representing the sample size.

p

An integer value (default: 4) representing the number of dimensions.

Value

A tibble containing the cube with grid points.

Examples

set.seed(20240412)
gridcube <- gen_gridcube(n = 500, p = 4)

cardinalR documentation built on Dec. 18, 2025, 9:08 a.m.