mean_curve: Simulate mean curve

Description Usage Arguments Value

View source: R/simulate_unregistered_curves.R

Description

This function generates mean for simulated accelerometer data.

Usage

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


oslerinhealth/registr documentation built on May 23, 2021, 6:33 a.m.