From c784cac45a47dceb984b2c594461ac0a9dd22af5 Mon Sep 17 00:00:00 2001 From: fab-scm Date: Tue, 23 Jan 2024 17:39:43 +0100 Subject: [PATCH] ready to merge IV --- R/plot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot.R b/R/plot.R index 8df286f6..2a1df3de 100644 --- a/R/plot.R +++ b/R/plot.R @@ -57,7 +57,7 @@ plot.aoa = function(x, samplesize = 1000, ...){ targetDI = data.frame(DI = as.numeric(targetDI[,1]), what = "predictionDI") }else if(inherits(x$AOA, "SpatRaster")){ - targetDI = terra::spatSample(x$DI, size = samplesize, method="regular") + targetDI = terra::spatSample(x$DI, size = samplesize,method="regular") targetDI = data.frame(DI = as.numeric(targetDI[,1]), what = "predictionDI") }else{