Learn R Programming

cardinalR (version 1.0.6)

gen_crescent: Generate Crescent

Description

This function generates a dataset representing a structure with a Crescent pattern.

Usage

gen_crescent(n = 500)

Value

A tibble containing a Crescent structure.

Arguments

n

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

Examples

Run this code
set.seed(20240412)
crescent <- gen_crescent(n = 500)

Run the code above in your browser using DataLab