scale_to_prob: Scales a vector from 1-priori_delta to priori_delta

scale_to_probR Documentation

Scales a vector from 1-priori_delta to priori_delta

Description

Scales a vector from 1-priori_delta to priori_delta

Usage

scale_to_prob(x, priori_delta = PRIORI_DELTA)

Arguments

x

vector of numbers

priori_delta

how much to compress the 0->1 scale range default PRIORI_DELTA

Value

returns a vector

Examples

scale_to_prob(c(10,9,7,5,34,2,1,0,-1), priori_delta = 0)


csps-efpc/TokenLink documentation built on Feb. 10, 2023, 3:30 a.m.