View source: R/fviz-gda-trajectory-quali.R
| fviz_gda_trajectory_quali | R Documentation | 
Visualize trajectories and structuring factors.
fviz_gda_trajectory_quali(
  res_gda,
  df_var_quali,
  var_quali,
  var_quali_select = NULL,
  axes = 1:2,
  ind_labels = FALSE,
  title = NULL,
  time_point_names = NULL,
  select = list(name = NULL, within_inertia = NULL, case = NULL),
  impute = TRUE,
  plot_modif_rates = TRUE,
  labels = NULL,
  xlim = NULL,
  ylim = NULL,
  axes_annotate_alpha = 0.3,
  case_names = NULL,
  label_x_limits = NA,
  label_y_limits = NA
)
res_gda | 
 MCA result (rownames have to be questionnaire IDs including time number, e.g. 87654_1).  | 
df_var_quali | 
 data frame containing one qualitative variable (with IDs as rownames).  | 
var_quali | 
 name of the structuring variable.  | 
var_quali_select | 
 the name of the selected categories/clusters.  | 
axes | 
 the axes to plot.  | 
ind_labels | 
 plot labels (boolean).  | 
title | 
 the plot title.  | 
time_point_names | 
 vector containing the name of the time points.  | 
select | 
 select vector of names, within_inertia of individuals selection (within_inertia: vector containing the number of high variation and low variationindividuals) or case (vector containing NULL, complete, or incomplete).  | 
impute | 
 use imputation for missing data.  | 
plot_modif_rates | 
 plot modified rates instead of eigenvalue percentage (boolean).  | 
labels | 
 label axes (vector of length 4; left, right, top, bottom).  | 
xlim | 
 numeric vector of 2.  | 
ylim | 
 numeric vector of 2.  | 
axes_annotate_alpha | 
 alpha value of axes annotations.  | 
case_names | 
 named character vector containing names of cases.  | 
label_x_limits | 
 constrain the labels to a specific area. Limits are specified in data coordinates.  | 
label_y_limits | 
 constrain the labels to a specific area. Limits are specified in data coordinates.  | 
ggplot2 visualization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.