Learn R Programming

registr (version 1.0.0)

mean_curve: Simulate mean curve

Description

This function generates mean for simulated accelerometer data.

Usage

mean_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.