Description Usage Arguments Value Author(s)
View source: R/simulate_unregistered_curves.R
This function simulates unregistered curves, providing the time values for both the unregistered curves (t_star) and the registered curves (t). Curves all have one peak, the location of which is shifted on the unregistered domain, meant to mimic accelerometer data.
1 2 3 4 5 6 7 8 9 |
I |
Number of subjects. Defaults is 50. |
D |
Number of grid points per subject. Default is 100. |
lambda |
Standard deviation for subject-specific amplitudes. |
seed |
Seed for reproducibility. Default is 1988. |
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. |
phase_variation |
If TRUE, creates phase variation (registered curves are observed on uneven grid). If FALSE, no phase variation. |
A simulated dataframe with variables id, value, index, latent_mean, and t. Index is the domain on which curves are unregistered and t is the domain on which curves are registered.
Julia Wrobel julia.wrobel@cuanschutz.edu, Jeff Goldsmith ajg2202@cumc.columbia.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.