View source: R/smooth_activity.R
smooth_activity | R Documentation |
smooth_activity
smoothes an activity variable within the
$activity_data
that is part of an activity
object by
calculating a moving average with window width specified by
act.width_ma
.
smooth_activity(activity, act.act = NULL, act.width_ma = NULL,
update_NA = TRUE)
activity |
An object of class |
An object of class activity
.
activity_data <- smooth_activity_data(activity = activity_data,
act = 'act_xy',
act.width_ma = 2,
update_NA = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.