Can any body suggest a function to plot heat map for upper or lower triangular matrix in R
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The most basic way to do something like this would be using
?imageas follows:which would result in something like this:
You could also investigate the functions
?heatmapor in thegplotspackage?heatmap.2. Doing this usingggplot2usinggeom_tileis a little different but you can find some examples to walk you through the process here.