Skip to contents

The initial state of a table where each row represents a specification of a score.

Usage

scores_init

Format

A tibble with 0 rows and 12 variables.

score_type

The method to use when creating the score: either "Linear", "Peak" or "Custom coordinates"

colname

The name of the column to score

score_name

The resulting name of the score

weight

The weight of the score when calculating the final score

lb

The lower bound of the score

ub

The upper bound of the score

centre

The centre of the score

inverse

Whether to invert a peak score

exponential

Whether to apply an exponential transformation to the score

logarithmic

Whether to invert the exponential transformation

magnitude

The magnitude of the exponential transformation

custom_args

A data frame of coordinates used to create a custom score

See also

Examples

scores_init
#> # A tibble: 0 × 12
#> # … with 12 variables: score_type <chr>, colname <chr>, score_name <chr>,
#> #   weight <dbl>, lb <dbl>, ub <dbl>, centre <dbl>, inverse <lgl>,
#> #   exponential <lgl>, logarithmic <lgl>, magnitude <dbl>, custom_args <list>