<div dir="ltr"><div>Hi all, </div><div><br></div><div>I'm going through the book and I'm at Chapter 8 doing the Unsupervised Classification example and I am obtaining a monochromatic image and a Null model. I wonder if anybody have had the same problem and could fix it. </div><div><br></div><div>This is my code: </div><div><br></div><div>set.seed(6)<br>p224r63_2011 <- brick("p224r63_2011.grd", package="raster")<br>p224r63_2011_uc <- unsuperClass(p224r63_2011, nSamples = 10000, nClasses = 4, nStarts = 50, norm = TRUE)<br>loadings(p224r63_2011_uc$model)<br>colors <- rainbow(5)<br>plot(p224r63_2011_uc$map)</div><div><br></div><div>Thank you</div><div><br></div><div>Natalia</div><div><br></div><div>p.s. this is the image after plotting </div><div><br></div><div><img width="416" height="395" alt="Inline image 1" src="cid:ii_157067447185a683"></div></div>