.pcr_normalize | R Documentation |
Normalize vector by another
.pcr_normalize(vec, ref, mode = "subtract")
vec |
A vector of numerics |
ref |
A numeric vector |
mode |
Either 'subtract' or 'divide' |
A vector of numerics
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.