Skip to content

Commit

Permalink
Update _04-ex.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Jun 2, 2024
1 parent 9786e54 commit ca2783e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _04-ex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Note: it may be wise to increase the cell size of the input raster to reduce com
spain_dem = geodata::elevation_30s(country = "Spain", path = ".", mask = FALSE)
# Reduce the resolution by a factor of 20 to speed up calculations
spain_dem = aggregate(spain_dem, fact = 20)
spain_dem = terra::aggregate(spain_dem, fact = 20)
# According to the documentation, terra::distance() will calculate distance
# for all cells that are NA to the nearest cell that are not NA. To calculate
Expand Down

0 comments on commit ca2783e

Please sign in to comment.