Skip to main content
100%

ggvis issue - multiple layers on different dataset

✓ Published0🌍 Public
RRCura
Last edited Dec 26, 2014
Created on Dec 26, 2014

This example shows a correspondence analysis of three random normal variables, with points colored by cluster and overlaid with 70% confidence ellipses. It first builds the analysis in R using `ade4`'s `dudi.coa`, then computes clusters via `hclust` and ellipses with the `ellipse` package. The visualization attempts to combine both layers in `ggvis`, using `layer_points` for the observations and `layer_paths` for the ellipses, but reveals a known issue where `group_by` on the path layer is not respected when mixing data frames, leaving the ellipses ungrouped in the final plot.

AI-generated description

Similar vizzes