Create a custom preference

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