title: loading raster image in tiff format in R
body: <p>I am trying to load raster image which is in  tiff formate in Rstudio. For this I used code</p>
  <pre><code>#library (raster)
  #library (sp)
  #library (rgdal)
  #library (tiff)
  #wd &lt;- (&quot;E:\\phd\\data\\calliberation test\\rstudio&quot;)
  #setwd(wd)
  
  #NTL1997F12 &lt;- raster(paste0(&quot;cliped images/1997_F12_Indiamap.tif&quot;))
  </code></pre>
  <p>To view details of layer I used code</p>
  <pre><code>#NTL1997F12
  </code></pre>
  <p>I got the following result</p>
  <pre><code>class      : RasterLayer 
  
  dimensions : 3637, 3507, 12754959  (nrow, ncol, ncell)
  
  resolution : 0.008333333, 0.008333333  (x, y)
  
  extent     : 68.1875, 97.4125, 6.7625, 37.07083  (xmin, xmax, ymin, ymax)
  
  crs        : +proj=longlat +datum=WGS84 +no_defs 
  
  source     : 1997_F12_Indiamap.tif 
  
  names      : X1997_F12_Indiamap 
  
  values     : 0, 255  (min, max)
  </code></pre>
  <p>in the image maximum value show as 255 . to cross-check the maximum value, I imported the same image in QGIS, and looked for raster analysis statistics which shows the maximum value as 63.</p>
  <p>can anyone guide me where I went wrong</p>