Skip to contents

ggfacto 0.4.0

One workflow for the three analyses: the analysis, interpret() for its axes, ggfacto() for its graph, hierarchical_clust() for its clusters. See the guide: https://bricenocenti.github.io/ggfacto/articles/ggfacto.html.

New functions

New arguments and changes

  • excl = takes exact level names; missing answers become <VAR>.NA levels, excluded by default (specific MCA).
  • filter = analyses a subset; the whole data frame is then passed to every later function.
  • clust =, names =, interactive =, lang =; options(ggfacto.widget_dir) writes widgets to their own file in documents.
  • profiles = TRUE and active_tables = "active" are the defaults: the crosstables of the Burt table are in the tooltips.
  • The MCA is fitted on the distinct answer profiles (same results, much faster); MCA2() keeps the 0.3.2 fit on individuals.
  • A missing value of a PCA sits at its variable’s weighted mean.
  • Requires R >= 4.3, ggplot2 >= 4.0 and tabxplor >= 2.0.1.

Deprecations and removals

  • HCPC_tab() (use clust_tab()), the cah and dat arguments (use clust and data), and %>% are soft-deprecated.
  • pers_or_plot() is removed; ggi(iframe =, pixel_width =) are ignored.

Bug corrections

  • The Frequency line of a tooltip could exceed 100 %.
  • A question with levels y/n disappeared from the graphs and tables.
  • The ellipses of a weighted analysis ignored the weights.

ggfacto 0.3.2

CRAN release: 2024-10-02

Bug correction

  • Corrected to work with dependency package tabxplor:: version 1.2.1

ggfacto 0.3.1

CRAN release: 2024-08-30

Bug correction

  • HCPC_tab() was not working well with numeric variables.

ggfacto 0.3.0

CRAN release: 2024-03-08

Added :

Bug correction

  • ggmca() can now properly color profiles of answer with cah (HCPC clusters) levels.

ggfacto 0.2.3

CRAN release: 2024-01-25

Added :

  • New argument reverse_axes in ggmca() to invert left and right or up and down.

Bug correction

  • mca_interpret was not working with MCA(excl = )
  • in ggmca, profiles of answers were plain wrong (because of the unanticipated results of a change in code)

ggfacto 0.2.2

CRAN release: 2021-10-22

  • First public version of ggfacto.