Learn R Programming

PTXQC (version 1.0.4)

qualLinThresh: Quality metric with linear response to input, reaching the maximum score at the given threshold.

Description

Ranges between 0 (worst score) and 1 (best score). Useful for performance measures where reaching a certain reference threshold 't' will be enough to reach 100%. The input range from [0, t] is scored from 0-100%.

Usage

qualLinThresh(x, t = 1)

Arguments

x

Numeric value(s) between [0, inf]

t

Threshold value, which indicates 100%

Value

Value between [0, 1]