Description Usage Arguments Value Examples
Draw scatter plot of exercise time of specific exercise_type
and effect_on_col
(with regression line if corr
is TRUE)
1 | draw_activity_effect(dataset, exercise_type, effect_on_col, corr = TRUE)
|
dataset |
survey dataset |
exercise_type |
one of the factor value in |
effect_on_col |
column name used for measuring excercise effect |
corr |
if |
scatter plot of exercise time of specific exercise_type
and effect_on_col
(with regression line if corr
is TRUE)
1 2 | draw_activity_effect(survey, "Vigorous Work", "Weight", FALSE)
draw_activity_effect(survey, "Moderate Work", "BMI")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.