Learn R Programming

cardinalR (version 1.0.6)

gen_curvybranches: Generate data with curvy shaped branches

Description

This function generates a dataset representing a structure with non-linear shaped branches.

Usage

gen_curvybranches(n = 400, k = 4)

Value

A data containing non-linear shaped branches.

Arguments

n

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

k

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

Examples

Run this code
set.seed(20240412)
curvybranches <- gen_curvybranches(n = 400, k = 4)

Run the code above in your browser using DataLab