Learn R Programming

cardinalR (version 1.0.6)

gen_hollowsphere: Generate Hollow Sphere

Description

This function generates a dataset representing a structure with a sphere with points on the surface.

Usage

gen_hollowsphere(n = 500, p = 4)

Value

A data containing a hollow sphere.

Arguments

n

A numeric value (default: 500) representing the sample size.

p

A numeric value (default: 4) representing the number of dimensions.

Examples

Run this code
set.seed(20240412)
hollowsphere <- gen_hollowsphere(n = 500)

Run the code above in your browser using DataLab