gen_pyrholes: Generate p-D Triangular Pyramid With Triangular Pyramid...

View source: R/pyramid.R

gen_pyrholesR Documentation

Generate p-D Triangular Pyramid With Triangular Pyramid shaped holes

Description

This function generates p-D triangular pyramid with triangular pyramid shaped holes.

Usage

gen_pyrholes(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 a triangular pyramid with triangular pyramid shaped holes.

Examples

set.seed(20240412)
pyrholes <- gen_pyrholes(n = 500, p = 3)

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