I'm trying to perform maximum likelihood classification of landsat imagery using R, I have been searching for a package that implements it but so far I haven't found it.
What is the easiest way to achieve this? I know package rasclass has some maximum likelihood classification method but what it receives as input is a format completely different than the one I have, as far as I can see.
Is there a package that allows me to do this, or a code snipped anyone could provide? I have been looking at rasclass' source code and thinking about modifying it to do receive the format I want as input, but I'm afraid it's a bit too complicated and I'll make a mistake somewhere.