mirror_scurves {cardinalR}R Documentation

Generate Mirror S-curve Datasets with Noise

Description

This function generates mirror S-curve datasets with added noise dimensions.

Usage

mirror_scurves(n, num_noise, min_n, max_n)

Arguments

n

The total number of samples to generate (should be divisible by 2).

num_noise

The number of additional noise dimensions to add to the data.

min_n

The minimum value for the noise dimensions.

max_n

The maximum value for the noise dimensions.

Value

A matrix containing the combined mirror S-curve datasets with added noise.

Examples

set.seed(20240412)
mirror_s_curve_data <- mirror_scurves(
  n = 200, num_noise = 2,
  min_n = -0.05, max_n = 0.05
)

[Package cardinalR version 0.1.1 Index]