single_summary_internal: An internal function fetching the results at the country...

View source: R/process_results.R

single_summary_internalR Documentation

An internal function fetching the results at the country level

Description

An internal function fetching the results at the country level

Usage

single_summary_internal(result, who, resp, data)

Arguments

result

a result table produced by run_LMM_workflow() or run_RF_workflow()

who

the type of staff ("rangers", "others" or "all")

resp

the quoted name of the response variable

data

a dataset with info on continents if breakdown by continent is required (optional)

Examples

## Not run: 
  LMM_small_test <- run_LMM_workflow(data = data_rangers, Ncpu = 2, coef = 0,
                                     rep_feature_select = 2, rep_finetune = 2, rep_simu = 2)
  single_summary_internal(result = LMM_small_test,
                          who = "rangers", resp = "staff_rangers_log", data = data_rangers)

## End(Not run)


courtiol/rangeRinPA documentation built on Sept. 29, 2022, 9:54 a.m.