Skip to content

Commit

Permalink
ready to merge IV
Browse files Browse the repository at this point in the history
  • Loading branch information
fab-scm committed Jan 23, 2024
1 parent 5d3a5ed commit c784cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit c784cac

Please sign in to comment.