powered by
Normalize vector by another
.pcr_normalize(vec, ref, mode = "subtract")
A vector of numerics
A numeric vector
Either 'subtract' or 'divide'
# NOT RUN { vec <- rnorm(6, 30, 1) ref <- rnorm(6, 30, .1) pcr:::.pcr_normalize(vec, ref) pcr:::.pcr_normalize(vec, ref, mode = 'divide') # }
Run the code above in your browser using DataLab