Learn R Programming

registr (version 2.1.0)

amp_curve: Simulate amplitude variance

Description

This function generates amplitudes for simulated accelerometer data.

Usage

amp_curve(grid, period = 2 * pi, spline_based = FALSE)

Value

A numeric vector.

Arguments

grid

Grid of x values over which to evaluate the function.

period

Controls the period of the mean curve

spline_based

If FALSE curve is constructed using sine and cosine functions, if TRUE, curve is constructed using B-spline basis.