You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
My question is, How to colorize "Heatmap", creating a function with "ifelse ()"????? #114
How to color "Heatmap", creating a function with "if else ()" ????
hi i am new to using "rpivotTable" package in "r". For data analysis due to its similarity to a rpivotTable in Excel. I have the following drawbacks:
When using the "Heatmap" render, I have come across that it assigns the coloration by scale based on a domain. (https://pivottable.js.org/examples/montreal_2014.html). However, I want to color minimum and maximum. I attach the image with the output of rpivtotTable and the output that I want to get from the R script.
My question focuses on how I can color the column "Female" using the following conditional: Color green if "Female> = Male" and if "Female <Male" color Female red. I have tried the following functionality but I have only managed to do it with a domain and not how I want it to be using a conditioner. What I have tried is the following:
This is how I am trying to get the pivotTable, without any success. This result is obtained by modifying the code of the "html" file, however I want it to be inside the code of the "R" script.
changed the title [-]How to colorize "Heatmap", creating a function with "ifelse ()".[/-][+]My question is, How to colorize "Heatmap", creating a function with "ifelse ()"?????[/+]on Jan 21, 2021
Activity
[-]How to colorize "Heatmap", creating a function with "ifelse ()".[/-][+]My question is, How to colorize "Heatmap", creating a function with "ifelse ()"?????[/+]