Skip to content

Commit 8ca2299

Browse files
committed
Improve comments
1 parent fc8cf34 commit 8ca2299

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

inst/scripts/distribute-measures.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,18 @@ if (FALSE)
3131
# Just to double check: Read current target values from the Excel file
3232
get_or_set_target_values_in_xls_file(xls_file, targets = NULL)
3333

34-
# Set the target values in the old reference system,
34+
# Set the target values in the old "reference system",
3535
# e.g. 100% green roof = 100% of roofs are green
3636
(unpaved_max <- sum(blocks$total_area * (1 - blocks$roof)) / sum(blocks$total_area))
3737

38+
# Create different combinations of target values
3839
target_combis <- expand.grid(
3940
green_roof = seq(0, 1, length.out = 10L),
4041
unpaved = seq(0, unpaved_max, length.out = 10L),
4142
to_swale = seq(0, 1, length.out = 10L)
4243
)
4344

44-
# Current mean degrees of application of measures
45+
# Current mean "degrees of application" of measures
4546
check_equality(get_measure_means(blocks), read_measure_means(xls_file))
4647

4748
indices <- seq_len(n <- nrow(target_combis))

0 commit comments

Comments
 (0)