Description Usage Arguments Details Value Author(s) Examples
Convert x
to an index in 1... maxindex
1 |
x |
A vector of data to covert. |
maxindex |
Maximum for result |
pwr |
See details. |
ties.method |
passed to |
id |
A string to be passed as id argument. If missing, an id will be generated from the arguments. |
x
is transformed to a rank scale, using ties.method
.
It is then rescaled to [0,1], and (optionally) a power transformation is
applied. In visualisation terms, this is a gamma correction. The result is rescaled to 1 ... maxindex.
A vector of rescaled values.
Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.