get_pref_handler_by_strat: Get handler preference by strategy.

View source: R/fun_syndrome.R

get_pref_handler_by_stratR Documentation

Get handler preference by strategy.

Description

Get handler preference by strategy.

Usage

get_pref_handler_by_strat(
  data_folder,
  generations,
  weight_comp_strat,
  weight_of_interest,
  handler_pref_by_strategy = FALSE
)

Arguments

data_folder

The data folder, should refer to an obligate simulation.

generations

The generations to extact, recommended 1 - 100.

weight_comp_strat

Which weight (mostly wt_5) refers to the inherited preference that controls the competition strategy in scenario 2.

weight_of_interest

Which weight are we interested in. A named vector of weight numbers.

Value

A data.table of counts of handler preference across strategy.


pratikunterwegs/kleptomove-ms documentation built on March 17, 2023, 1:39 a.m.