mean_curve: Simulate mean curve
Description
This function generates mean for simulated accelerometer data.
Usage
mean_curve(grid, period = 2 * pi, spline_based = FALSE)
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.