Learn R Programming

cardinalR (version 1.0.6)

gen_circle: Generate Circle in p-d

Description

This function generates a dataset representing a structure with a circle.

Usage

gen_circle(n = 500, p = 4)

Value

A data containing a circle.

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)
circle <- gen_circle(n = 500, p = 4)

Run the code above in your browser using DataLab