Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Good looking HeatMap example in R using ggplot2

$
0
0
In this example we show how to make a good looking heatmap using the ggplot2 R package. Following is the code example of using ggplot2 to plot the data as Heatmap.
Code: 
projectName="XYZ"
RecallData <- read.csv("RankRecall_5_.csv",head=TRUE );
ApproachValue="BM25Fext"
msg=paste(projectName,ApproachValue,': Recall rate for each   training data',sep='')

#head(RecallData)



RecallData$month_name2 <- factor(RecallData$month_name,levels=c('1/2009' ,

...

Attachments Rplot03.png
Rplot03.png [ 3.65 KiB | Viewed 670 times ]


Statistics : Posted by msi_333 • on Tue Feb 09, 2016 6:40 am • Replies 0 • Views 670

Viewing all articles
Browse latest Browse all 36

Trending Articles