Commit 1486a19e authored by Romulo Pereira Goncalves's avatar Romulo Pereira Goncalves
Browse files

Indentation

parent 8cea425c
...@@ -65,7 +65,12 @@ sample_nb <- function(raster, ...@@ -65,7 +65,12 @@ sample_nb <- function(raster,
### ###
n_channel <- length(names(raster)) n_channel <- length(names(raster))
###raster in MEMORY or NOT ###raster in MEMORY or NOT
if (in.memory == TRUE && raster::fromDisk(raster) == TRUE) { rast <- raster::readAll(raster) }else { rast <-raster } if (in.memory == TRUE &&
raster::fromDisk(raster) == TRUE) {
rast <- raster::readAll(raster)
} else {
rast <- raster
}
### ###
l <- 1 ###6. opt=260 l <- 1 ###6. opt=260
pbtn1 <- matrix(1, nrow = 1, ncol = 1) pbtn1 <- matrix(1, nrow = 1, ncol = 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment