plot_pairwise_cue_correlation_matrix: Plot pairwise cue correlation matrix

View source: R/visualize-basics.R

plot_pairwise_cue_correlation_matrixR Documentation

Plot pairwise cue correlation matrix

Description

Plots a n x n correlation matrix, using ggforce::facet_matrix, with univariate densities for each category on the diagonal, scatter plots in the lower triangle and 95

Usage

plot_pairwise_cue_correlation_matrix(
  data,
  cues,
  category = category,
  category.colors = 1:length(unique(data$category))
)

Arguments

data

A 'tibble' or 'data.frame' that contains the 'cues' and 'category'.

cues

Variables in 'data' -containing the cue values that are to be plotted.

category

Variable in 'data' that contains the category information. (currently required)

category.colors

The colors to be mapped onto the category values.

Value

A ggplot2 plot.

See Also

TBD


hlplab/MVBeliefUpdatr documentation built on March 29, 2025, 10:42 p.m.