Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansvancalster committed Sep 26, 2024
1 parent d665e67 commit 9bf4505
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/scripts/test_validation_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ area <- ls %>% map(function(x)
)
rm(ls)

# note area$area is not yet an area, but the count of pixels
# and each pixel is 0.01 ha

ttl <- list(nara = "the original land use map")

this_map <- "nara"
Expand All @@ -72,6 +75,8 @@ refdata1 <- as.factor(points_id$lu13oord_eng)
mapdata2 <- data[[str_c(this_map, "2016")]]$valid_eng
refdata2 <- as.factor(points_id$lu16oord_eng)
maparea <- area[[this_map]]
# note maparea$area is not yet an area, but the count of pixels
# and each pixel is 0.01 ha

# calculations
##############
Expand Down

0 comments on commit 9bf4505

Please sign in to comment.