create_violin_plot: Create violin plot

Description Usage Arguments Value Examples

View source: R/plot_functions.R

Description

Create violin plot

Usage

1
create_violin_plot(data_plot, x_variable, y_variable, ifStat = FALSE)

Arguments

data_plot

a dataframe containing the data for plot

x_variable

name of the variable for x-axis

y_variable

name of the variable for y-axis

ifStat

Should the mean and mean values added to the plot

Value

a ggplot object containing the violin plot

Examples

1
2
create_violin_plot(get_data(), "TASK_GRA", "COR")
create_violin_plot(reproducerTaskGra::data_experiment, "TASK", "TDD_CONF_SELF")

karacitir/reproducerTaskGra documentation built on May 6, 2019, 4:32 p.m.