forge_polar_amp_df | R Documentation |
Constructs data_frame suitable for polar circadian phase arrows
forge_polar_amp_df(df, amp_mean, phase_mean, grp = rlang::quo(what))
df |
input data_frame with: |
amp_mean |
amplitudes (quosure or values overriding those in data frame) |
phase_mean |
phases (quosure, see above) |
grp |
grouping variable (quosure) |
data_frame suitable for ggplot
df <- dplyr::data_frame(what="test", amp=0.5, phase=12)
df %>% forge_polar_amp_df(rlang::quo(amp), rlang::quo(phase),
rlang::quo(what))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.