Skip to contents

This function creates raincloud plots to visualize the distributions of continuous variables in a data frame.

Usage

PlotContinuousDistributions(
  DataFrame,
  Variables = NULL,
  Relabel = TRUE,
  ncol = 3,
  Ordinal = T
)

Arguments

DataFrame

A data frame containing the variables to be plotted.

Variables

A character vector specifying the names of the variables to be plotted. If NULL, all numeric variables in DataFrame will be used.

Relabel

Logical, whether to relabel the variables using their labels if available. Default is TRUE.

ncol

Number of columns in the facet grid. Default is 3.

Ordinal

Logical, indicating whether ordinal variables should be included.

Value

A raincloud plot visualizing the distributions of continuous variables.