Skip to contents

Distribution plot of a view object

Usage

distribution_dp(obj, maxpts = 50000, alpha = 0.1, ...)

Arguments

obj

View object.

maxpts

maximum number of points to plot.

alpha

ggplot aesthetic value.

...

passed to ggplot2::geom_point(),

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)