I have the data below produced from a machine learning algorithm which count cells in each image that I would like to visualise in order to understand how the model is predicting the cells. The data shows the actual and the predictions counts. Is it possible to group the data in range of (0:100),(100:200),(200:300),(400:500). I would like to understand how the model is preforming with these range of groups of cells. Not sure if there is a better way of presenting this but this is what i have in mind. Many Thanks
data.frame(
Image1 = c(294L, 249L, 14L, 278L, 54L, 311L, 202L, 238L, 601L, 275L),
Image2 = c(294L, 205L, 14L, 244L, 55L, 300L, 234L, 178L, 597L, 293L),
Image3 = c(269L, 395L, 14L, 401L, 59L, 258L, 236L, 363L, 608L, 354L),
Image4 = c(298L, 249L, 13L, 312L, 57L, 258L, 218L, 290L, 580L, 254L),
Image5 = c(295L, 182L, 15L, 323L, 64L, 200L, 219L, 326L, 565L, 292L),
Image6 = c(297L, 328L, 10L, 344L, 56L, 292L, 225L, 298L, 545L, 217L),
Image7 = c(270L, 319L, 17L, 334L, 69L, 216L, 244L, 293L, 582L, 253L),
Image8 = c(301L, 266L, 11L, 354L, 59L, 342L, 213L, 271L, 585L, 305L),
ValueType = as.factor(c("Pred","Actual",
"Pred","Actual","Pred","Actual","Pred","Actual",
"Pred","Actual"))