Hello:

 

I've got a raster generated with the raster package. I want to randomly
change the value of  pixels of a given value. 

 

For example, I want to select 25% of the pixels with value 2, changing its
value to 3.

 

Any ideas?

 

Frederico


	[[alternative HTML version deleted]]

