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

View source: R/pyramid.R

gen_pyrfracR 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_pyrfrac(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)
pyrfrac <- gen_pyrfrac(n = 500, p = 3)

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