gen_orglinearbranches: Generate data with linear shaped branches in a initial point
Description
This function generates a dataset representing a structure with linear shaped branches.
Usage
gen_orglinearbranches(n = 400, p = 4, k = 4, allow_share = TRUE)
Value
A data containing linear shaped branches originated in one point.
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.
allow_share
A logical value (default: TRUE).
If TRUE, multiple branches may share the same 2D subspace.
If FALSE, branches are sampled without replacement from all possible 2D
subspaces until exhausted.