AgroCares / Open-Bodem-Index-Calculator

An R package containing the functions for the Open Bodem Index (OBI)
https://agrocares.github.io/Open-Bodem-Index-Calculator/
GNU General Public License v3.0
11 stars 2 forks source link

ncat in obic_field underestimates management #105

Open gerardhros opened 3 years ago

gerardhros commented 3 years ago

due to selection cols <- cols[!grepl('^IM',cols)] all individual measure are indicators are correctly removed.

a few lines later dt.melt.ncat the number of indicators are calculated to be used for weighing the score later on. this has the consequence that management is rated by only a single indicator, underestimating the impact on final score. needs to be updated, probably by linking it directly to dt rather than to dt.melt (that is made after filtering).

gerardhros commented 3 years ago

up to now this is a choice so, the number of management measures do not increase the contribution of management to the total score (unlike the other aggregated soil functions). This requires a decision later on.