Learn R Programming

redist (version 3.1.5)

scorer-arith: Scoring function arithmetic

Description

redist_scorer functions may be multiplied by constants and/or added together to form linear combinations.

Usage

# S3 method for redist_scorer
*(x, fn2)

# S3 method for redist_scorer +(fn1, fn2)

# S3 method for redist_scorer -(fn1, fn2)

Arguments

x

a numeric or a `redist_scorer` function, from [`scorers`]

fn2

a `redist_scorer` function, from [`scorers`]

fn1

a `redist_scorer` function, from [`scorers`]

Value

function of class redist_scorer