distribution_dp {movementsync} | R Documentation |
Distribution plot of a view object
Description
Distribution plot of a view object
Usage
distribution_dp(obj, maxpts = 50000, alpha = 0.1, ...)
Arguments
obj |
|
maxpts |
maximum number of points to plot. |
alpha |
ggplot aesthetic value. |
... |
passed to |
Value
a ggplot
object.
Examples
r1 <- get_sample_recording()
rv1 <- get_raw_view(r1, "Central", "", "Sitar")
pv1 <- get_processed_view(rv1)
dp <- c("LWrist", "RWrist", "LElbow", "RElbow", "LEye", "REye", "Neck", "MidHip")
fv1 <- apply_filter_sgolay(pv1, data_point = dp, n = 41, p = 4)
distribution_dp(fv1)
[Package movementsync version 0.1.4 Index]