mean_curve {registr}R Documentation

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.

Value

A numeric vector.


[Package registr version 2.1.0 Index]