Change the sampling of a digiRhythm friendly dataset
resample_dgm.Rd
This function upsamples the data but does not downsample them. The new sampling should be a multiple of the current sampling period, and should be given in minutes.
Examples
data("df516b_2", package = "digiRhythm")
df <- df516b_2
df <- remove_activity_outliers(df)
new_sampling <- 30
new_dgm <- resample_dgm(df, new_sampling)