gen_curvybranches: Generate data with curvy shaped branches

View source: R/branching.R

gen_curvybranchesR Documentation

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, p = 4, k = 4)

Arguments

n

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

p

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

k

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

Value

A data containing non-linear shaped branches.

Examples

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

cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.