Skip to content

Commit aeb7240

Browse files
committed
Update rnets code
1 parent 9ab0d0d commit aeb7240

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

07b.3-regional-rnets.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ hist(rnet_new1$dutch_slc)
4747
purpose = "school"
4848
geography = "lsoa"
4949

50-
k = which(r$region_name == "avon")
50+
k = which(r$region_name == "london")
5151
for(k in 1:nrow(r)) {
5252
rmini = rnet[r[k,], ]
5353
r_spatial = as(rmini, "Spatial")
@@ -56,7 +56,7 @@ for(k in 1:nrow(r)) {
5656
s_new / 1e6
5757
if(s_new > 50000000) {
5858
print("reducing rnet size")
59-
rmini_spatial = rmini_spatial[rmini_spatial$dutch_slc >= 50, ]
59+
rmini_spatial = rmini_spatial[rmini_spatial$dutch_slc >= 100, ]
6060
}
6161
# else if(s_new > 70000000) {
6262
# print("reducing rnet size")

0 commit comments

Comments
 (0)