Examples of different data structures that can be generated are shown below.
Gaussian
gau_data <- gen_gaussian(n = 500, p = 4, s = diag(4) * 0.01)
langevitour(gau_data, pointSize = 2)
Cube with a hole
cube_grd_data <- gen_cubehole(n = 5000, p = 6)
langevitour(cube_grd_data, pointSize = 2)
Circular
curvy_cyc_data <- gen_curvycycle(n = 500, p = 4)
langevitour(curvy_cyc_data, pointSize = 2)
Branching
tree_data <- gen_orgcurvybranches(n = 600, p = 6, k = 6)
#> 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>.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
langevitour(tree_data, pointSize = 2)
Cone
cone_data <- gen_cone(n = 500, p = 4, h = 5, ratio = 0.5)
langevitour(cone_data, pointSize = 2)
Nonlinear
spiral_data <- gen_conicspiral(n = 500, p = 5, spins = 2)
langevitour(spiral_data, pointSize = 2)
Grided sphere
sphere_data <- gen_gridedsphere(n = 160000, p = 4)
langevitour(sphere_data, pointSize = 2)
Scurve with a hole
scurve_data <- gen_scurvehole(n = 600, p = 8)
langevitour(scurve_data, pointSize = 2)
Pyramid with a hole
pyr_data <- gen_pyrholes(n = 1000, p = 4)
langevitour(pyr_data, pointSize = 2)