gen_linearbranches: Generate data with linear shaped branches

View source: R/branching.R

gen_linearbranchesR Documentation

Generate data with linear shaped branches

Description

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

Usage

gen_linearbranches(n = 400, k = 4)

Arguments

n

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

k

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

Value

A data containing linear shaped branches.

Examples

set.seed(20240412)
linearbranches <- gen_linearbranches(n = 400, k = 4)

cardinalR documentation built on Dec. 18, 2025, 9:08 a.m.