Rule1b: Rule1b: Median survey data where available, otherwise mean...

View source: R/GSOFunc_Rule1b.R

Rule1bR Documentation

Rule1b: Median survey data where available, otherwise mean expert data

Description

Rule1b: Median survey data where available, otherwise mean expert data

Usage

Rule1b(data)

Arguments

data

data.frame input called in OptRunCI (and subsequently used in DataGen)

Details

Internal GSO function. Rules functions appropriately combine observational and expert data. These rules are used in the functions that generates scores to use in the Growth Stage Optimisation (GSO).

Rule 1b: This rule uses the median of survey data where available, otherwise uses expert opinion. It returns the median value.

Value

returns a median value for the data.frame input 'Survey' column if data exists, else uses 'Expert' column median


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.