Skip to content

Commit fa76184

Browse files
author
Leah Wasser
committed
more url fixes
1 parent 48bc68a commit fa76184

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spatial-data-gis-law/4-tues-spatial-analysis-in-r.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extract raster values from a buffer region around that point and calculate a
7070
summary stat (in this case a mean raster value). We will then plot the points
7171
on a map weighting the size according to relative mean value.
7272

73-
![Extract data from a buffer](https://earthdatascience.org/images/course-materials/earth-analytics/week-5/buffer-circular.png)
73+
![Extract data from a buffer](https://earthdatascience.org/images/courses/earth-analytics/spatial-data/buffer-circular.png)
7474

7575

7676
To begin let's import some raster data and the same study area file
@@ -349,7 +349,7 @@ y_range <- as.numeric(c(24, 32)) # min/max latitude of the interpolation area
349349
grd <- expand.grid(x = seq(from = x_range[1],
350350
to = x_range[2],
351351
by = 0.1),
352-
y = seq(from = y_range[1], to = y_range[2],
352+
y = seq(from = y_range[1], to = y_range[2],
353353
by = 0.1)) # expand points to grid
354354
class(grd)
355355
```
@@ -427,7 +427,7 @@ idw_dist1 <- idw(formula = elev_mm ~ 1,
427427
locations = sea_level_2000_sp,
428428
newdata = grd,
429429
idp = 1,
430-
maxdist=1)
430+
maxdist = 1)
431431
plot(idw_dist1,
432432
main = "IDW: distance = 1 degree, power = 1")
433433
```

0 commit comments

Comments
 (0)