powered by
Function for risk detector calculation, risk matrix and visualization.
gdrisk(formula, data = NULL) # S3 method for gdrisk print(x, ...) # S3 method for gdrisk plot(x, ...)
A formula of response and explanatory variables
A data.frame includes response and explanatory variables
A list of risk detector results
Ignore
# NOT RUN { gr1 <- gdrisk(NDVIchange ~ Climatezone + Mining, data = ndvi_40) gr1 plot(gr1) # } # NOT RUN { data <- ndvi_40[,1:3] gr2 <- gdrisk(NDVIchange ~ ., data = data) gr2 # } # NOT RUN { # }
Run the code above in your browser using DataLab