Learn R Programming

cardinalR (version 1.0.6)

gen_pyrfrac: 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)

Value

A data containing a triangular pyramid with triangular pyramid shaped holes.

Arguments

n

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

p

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

Examples

Run this code
set.seed(20240412)
pyrfrac <- gen_pyrfrac(n = 500, p = 3)

Run the code above in your browser using DataLab