fviz_gda_interaction: Visualize interaction cloud.

View source: R/fviz-gda-interaction.R

fviz_gda_interactionR Documentation

Visualize interaction cloud.

Description

Visualize interaction cloud.

Usage

fviz_gda_interaction(
  res_gda,
  df_var_quali,
  var_quali,
  title = "MCA quali interaction effects",
  mean_alpha = 0.75,
  path_linetype = "solid",
  path_size = 1,
  path_colour = "black",
  scale_mean_points = TRUE,
  axes = 1:2,
  palette = "Set1",
  path_alpha = 1,
  impute = TRUE,
  variable = "both",
  plot_modif_rates = TRUE,
  axis_lab_name = "Achse",
  labels = NULL
)

Arguments

res_gda

MCA result.

df_var_quali

crossed variable data frame.

var_quali

name of crossed supplementary variable.

title

plot title.

mean_alpha

alpha of the mean point.

path_linetype

linetype of concat path.

path_size

size of concat path.

path_colour

colour of concat path.

scale_mean_points

scale mean points (boolean).

axes

axes to plot.

palette

used colour brewer palette.

path_alpha

opacity of the path.

impute

use imputation to handle missing data.

variable

which diagram to plot (vector containing 1, 2 or "both").

plot_modif_rates

plot modified rates instead of eigenvalue percentage (boolean).

axis_lab_name

name of axis label.

labels

label axes (vector of length 4; left, right, top, bottom).

Value

ggplot2 interaction cloud visualizsation.


inventionate/TimeSpaceAnalysis documentation built on June 13, 2025, 2:48 p.m.