Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 125618

A sequence of instructions that repeats either a specified number of times or until a particular condition is met.

1 vote
1 answer
445 views

Creating a Loop in R for averaging Raster values to create time series

I now want to write a loop with R to average the values for each lake, so only one value is left for each lake. …
Felix Tischer's user avatar
1 vote
1 answer
558 views

calculation with raster and numeric values in Loop with R

Therefore I wrote a loop, which has so far worked fine when I only used rasters. Now I have calculations with rasters and numeric vavlues and somehow this causes an error in the overlay function. … (path = "C:/Users/Felix/Desktop/Bachelorarbeit/Daten/Datenverarbeitung_R/L8_NDVI", pattern = 'NDVI.tif$', full.names=T) define function fun_PV <- function(x,y,z){((x-y)/(z+y))^2} Loop
Felix Tischer's user avatar
2 votes
2 answers
639 views

Batch Calculating Indices

I have made an approach in R already, which works fine for one file, but I don't know how to make a loop reading the correct files in the folder out of it. …
Felix Tischer's user avatar