Description Usage Arguments Value Examples
Normalize vector by another
1 | .pcr_normalize(vec, ref, mode = "subtract")
|
vec |
A vector of numerics |
ref |
A numeric vector |
mode |
Either 'subtract' or 'divide' |
A vector of numerics
1 2 3 4 | vec <- rnorm(6, 30, 1)
ref <- rnorm(6, 30, .1)
pcr:::.pcr_normalize(vec, ref)
pcr:::.pcr_normalize(vec, ref, mode = 'divide')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.