How to create heatmap from multiple data frames
问题 I'm quite new to R and I'm stuck on how to create a heatmap from multiple data frames in a list. There are 3 columns in the each data frame: X location, Y location, PatchStatus The first data frame looks like: listofdfs <- list() #list of dataframes listofdfs[1] allPoints.xLocs allPoints.yLocs allPoints.patchStatus 1 67.30330212 87.857495 0 2 69.60800088 77.959314 0 3 74.63313295 93.059260 0 4 92.59099136 77.732215 1 5 18.05288289 61.200910 1 6 55.83499856 50.993785 0 7 12.15664148 58.220179