pref_custom: Create a custom preference

Description Usage Arguments See Also

View source: R/preferences.R

Description

Create a custom preference

Usage

1
pref_custom(..., params = NULL, label = "custom")

Arguments

...

Unquoted that describe the utility as a function of the parameters of the game and possible preference parameters. Should be ordered by players. Names are irrelevant.

params

An optional list of parameters that are used in the formulas above

label

A label for the preference, should contain info about the parameters

type

A general type label independet of the parameters

See Also

Other Preferences: game_fix_action_preferences, game_prefer_outcomes, game_set_preferences, pref_change_params, pref_envy, pref_heterogeneous_players, pref_ineqAv, pref_lossAv, pref_payoff


skranz/gtree documentation built on March 27, 2021, 6:03 a.m.