scorer-arith: Scoring function arithmetic

scorer-arithR Documentation

Scoring function arithmetic

Description

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

Usage

## S3 method for class 'redist_scorer'
x * fn2

## S3 method for class 'redist_scorer'
fn1 + fn2

## S3 method for class '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


redist documentation built on April 3, 2023, 5:46 p.m.