Skip to contents

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

Usage

gen_orgcurvybranches(n = 400, p = 4, k = 4)

Arguments

n

A numeric value (default: 500) 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 curvy shaped branches originated in one point.

Examples

set.seed(20240412)
orgcurvybranches <- gen_orgcurvybranches(n = 400, p = 4, k = 4)
#> Warning: The `x` argument of `as_tibble.matrix()` must have unique column names if
#> `.name_repair` is omitted as of tibble 2.0.0.
#>  Using compatibility `.name_repair`.
#>  The deprecated feature was likely used in the cardinalR package.
#>   Please report the issue at
#>   <https://github.com/JayaniLakshika/cardinalR/issues>.
#>  2 noise dimensions have been generated successfully! 🎉
#>  2 noise dimensions have been generated successfully! 🎉
#>  2 noise dimensions have been generated successfully! 🎉
#>  2 noise dimensions have been generated successfully! 🎉
#>  Data generation completed successfully! 🎉