gen_expbranches: Generate data with exponential shaped branches

View source: R/branching.R

gen_expbranchesR Documentation

Generate data with exponential shaped branches

Description

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

Usage

gen_expbranches(n = 400, k = 4)

Arguments

n

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

k

An integer value (default: 4) representing the number of branches.

Value

A tibble containing exponential shaped branches.

Examples

set.seed(20240412)
expbranches <- gen_expbranches(n = 400, k = 4)

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