View source: R/NormCurveToArea.R
NormCurvToArea | R Documentation |
Normalize a curve such that its integration over the design time-points equals a particular value (according to trapezoid integration).
NormCurvToArea(y, x = seq(0, 1, length.out = length(y)), area = 1)
y |
values of curve at time-points |
x |
design time-points (default: |
area |
value to normalize the curve onto (default: 1) |
values of curve at times x
such that its integration over x
equals area
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.