two_scurve_hole: Generate Two S-Curve Data with Noise

View source: R/s_curve.R

two_scurve_holeR Documentation

Generate Two S-Curve Data with Noise

Description

This function generates two S-curve data with noise.

Usage

two_scurve_hole(n, num_noise, min_n, max_n)

Arguments

n

The total number of data points to be generated.

num_noise

The number of additional noise dimensions to be generated.

min_n

The minimum value for the noise added to the data points.

max_n

The maximum value for the noise added to the data points.

Value

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

Examples


# Generate two S-curve data with noise with custom parameters
set.seed(20240412)
data <- two_scurve_hole(
  n = 200, num_noise = 2,
  min_n = -0.05, max_n = 0.05
)

cardinalR documentation built on May 29, 2024, 4:37 a.m.