{"Type":"standard","GRASS_Function":"abs(x)","R_Function":"abs()","Definition":"return absolute value of x","Returns":"same as input"} {"Type":"standard","GRASS_Function":"acos(x)","R_Function":"acos()","Definition":"inverse cosine of x (result is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"asin(x)","R_Function":"asin()","Definition":"inverse sine of x (result is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"atan(x)","R_Function":"atan()","Definition":"inverse tangent of x (result is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"atan(x,y)","R_Function":"atan2()","Definition":"inverse tangent of y/x (result is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"ceil(x)","R_Function":"ceiling()","Definition":"the smallest integral value not less than x","Returns":"same as input"} {"Type":"standard","GRASS_Function":"cos(x)","R_Function":"cos()","Definition":"cosine of x (x is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"double(x)","R_Function":"","Definition":"convert x to double-precision floating point","Returns":"same as input"} {"Type":"standard","GRASS_Function":"eval([x,y,...,]z)","R_Function":"","Definition":"evaluate values of listed expr, pass results to z","Returns":"same as input"} {"Type":"standard","GRASS_Function":"exp(x)","R_Function":"exp()","Definition":"exponential function of x","Returns":"same as input"} {"Type":"standard","GRASS_Function":"exp(x,y)","R_Function":"exp()","Definition":"x to the power y","Returns":"same as input"} {"Type":"standard","GRASS_Function":"float(x)","R_Function":"","Definition":"convert x to single-precision floating point","Returns":"same as input"} {"Type":"standard","GRASS_Function":"floor(x)","R_Function":"floor()","Definition":"the largest integral value not greater than x","Returns":"same as input"} {"Type":"if/then","GRASS_Function":"if(x)","R_Function":"if","Definition":"1 if x not zero, 0 otherwise","Returns":"integer (CELL)"} {"Type":"if/then","GRASS_Function":"if(x,a)","R_Function":"if","Definition":"a if x not zero, 0 otherwise","Returns":"integer (CELL)"} {"Type":"if/then","GRASS_Function":"if(x,a,b)","R_Function":"if / else","Definition":"a if x not zero, b otherwise","Returns":"integer (CELL)"} {"Type":"if/then","GRASS_Function":"if(x,a,b,c)","R_Function":"if / else / else","Definition":"a if x > 0, b if x is 0, c if x < 0","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"int(x)","R_Function":"trunc()","Definition":"convert x to integer (truncates)","Returns":"same as input"} {"Type":"if/then","GRASS_Function":"isnull(x)","R_Function":"is.null()","Definition":"check if x is NA, 1 if TRUE, 0 if FALSE","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"log(x)","R_Function":"log()","Definition":"natural log of x","Returns":"same as input"} {"Type":"standard","GRASS_Function":"log(x,b)","R_Function":"log()","Definition":"log of x base b","Returns":"same as input"} {"Type":"standard","GRASS_Function":"max(x,y[,z...])","R_Function":"max()","Definition":"largest value of those listed","Returns":"same as input"} {"Type":"standard","GRASS_Function":"median(x,y[,z...])","R_Function":"median()","Definition":"median value of those listed","Returns":"same as input"} {"Type":"standard","GRASS_Function":"min(x,y[,z...])","R_Function":"min()","Definition":"smallest value of those listed","Returns":"same as input"} {"Type":"standard","GRASS_Function":"mod(x,y)","R_Function":"%%","Definition":"return the modulus (the remainder) of x/y","Returns":"same as input"} {"Type":"standard","GRASS_Function":"mode(x,y[,z...])","R_Function":"","Definition":"mode value of those listed","Returns":"same as input"} {"Type":"standard","GRASS_Function":"nmax(x,y[,z...])","R_Function":"max(x, na.rm=TRUE)","Definition":"largest value of those listed, excluding NULLs","Returns":"same as input"} {"Type":"standard","GRASS_Function":"nmedian(x,y[,z...])","R_Function":"median(x, na.rm=TRUE)","Definition":"median value of those listed, excluding NULLs","Returns":"same as input"} {"Type":"standard","GRASS_Function":"nmin(x,y[,z...])","R_Function":"min(x, na.rm=TRUE)","Definition":"smallest value of those listed, excluding NULLs","Returns":"same as input"} {"Type":"standard","GRASS_Function":"nmode(x,y[,z...])","R_Function":"","Definition":"mode value of those listed, excluding NULLs","Returns":"same as input"} {"Type":"if/then","GRASS_Function":"not(x)","R_Function":"!","Definition":"1 if x is zero, 0 otherwise","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"pow(x,y)","R_Function":"^","Definition":"x to the power y","Returns":"same as input"} {"Type":"standard","GRASS_Function":"rand(a,b)","R_Function":"runif()","Definition":"random value such that a <= x < b","Returns":"same as input"} {"Type":"standard","GRASS_Function":"round(x)","R_Function":"round()","Definition":"round x to nearest integer","Returns":"same as input"} {"Type":"standard","GRASS_Function":"round(x,y)","R_Function":"round()","Definition":"round x to nearest multiple of y","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"round(x,y,z)","R_Function":"","Definition":"round x to nearest y*i+z for some integer i","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"sin(x)","R_Function":"sin()","Definition":"sine of x (x is in degrees)","Returns":"same as input"} {"Type":"standard","GRASS_Function":"sqrt(x)","R_Function":"sqrt()","Definition":"square root of x","Returns":"same as input"} {"Type":"standard","GRASS_Function":"tan(x)","R_Function":"tan()","Definition":"tangent of x (x is in degrees)","Returns":"same as input"} {"Type":"if/then","GRASS_Function":"xor(x,y)","R_Function":"xor()","Definition":"exclusive-or (XOR) of x and y","Returns":"same as input"} {"Type":"standard","GRASS_Function":"row()","R_Function":"","Definition":"current row of moving window","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"col()","R_Function":"","Definition":"current column of moving window","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"nrows()","R_Function":"nrow()","Definition":"number of rows in computation region","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"ncols()","R_Function":"ncol()","Definition":"number of columns in computation region","Returns":"integer (CELL)"} {"Type":"standard","GRASS_Function":"x()","R_Function":"","Definition":"current x-coordinate of moving window","Returns":"float (FCELL)"} {"Type":"standard","GRASS_Function":"y()","R_Function":"","Definition":"current y-coordinate of moving window","Returns":"float (FCELL)"} {"Type":"standard","GRASS_Function":"ewres()","R_Function":"xres() [terra package]","Definition":"current east-west resolution","Returns":"float (FCELL)"} {"Type":"standard","GRASS_Function":"nsres()","R_Function":"yres() [terra package]","Definition":"current north-south resolution","Returns":"float (FCELL)"} {"Type":"standard","GRASS_Function":"area()","R_Function":"area() [terra package]","Definition":"area of current cell in square meters","Returns":"float (FCELL)"} {"Type":"standard","GRASS_Function":"null()","R_Function":"NULL","Definition":"NA value","Returns":"returns NA"}