Create Ggplot Object for Entities (Variables or Individuals)
1 | create_entities_ggplot(DF, active_entity, active_dims, order_by)
|
DF |
Data frame. The data to pass to ggplot |
active_entity |
String. Currently active entity (variables vs individuals) |
active_dims |
Array of length 2. Currently active dimensions |
order_by |
String. Must to be one of currently active dimensions. Map the color of plotted points by cos2 of selected dimension |
active_qualiquanti |
Reactive value, returning the array of currently active qualitative and quantitative variables. Active variables are obtained by taking the input given by the user and filtering out the variables whose data types is not coherent with the category of the input (quantitative or qualitative). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.