I have a raster with values from 1-7 and when I export the raster as a tiff file and extract the values in R using the raster package and values() function some of the raster values are decimals.