This function generates a violin plot of random parameters from the provided data.
It filters the data for random parameters ('ran_pars'), computes RMSE by group,
and creates a violin plot using ggplot2 with customized aesthetics.
Usage
get_violin_random_params(
data,
size_point = 1,
alpha_point = 0.3,
alpha_violin = 0.5
)
Arguments
- data
The dataframe containing the data to be plotted.
- size_point
Size of the points in the plot (default: 1).
- alpha_point
Transparency level of the points (default: 0.3).
- alpha_violin
Transparency level of the violin plots (default: 0.5).
Value
A ggplot object representing the violin plot of random parameters.