Learn R Programming

redist (version 4.2.0)

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)

Value

function of class redist_scorer

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