Skip to contents

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)
#>  Data generation completed successfully!!!