ch.altLogTransform | R Documentation |
This function log transform a variable that contains 0s and/or negatives by first tranforming x == 0 into min(x[x>0])/2 and then transforming negative numbers into (min(x[x>0])/2)/abs(x). Finally those numbers are log transformed.
ch.altLogTransform(x)
x |
a numeric combnVector. |
a vector of transformed numbers.
ch.altLogTransform (myX)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.