NormCurvToArea: Normalize a curve to a particular area, by multiplication...

View source: R/NormCurveToArea.R

NormCurvToAreaR Documentation

Normalize a curve to a particular area, by multiplication with a factor

Description

Normalize a curve such that its integration over the design time-points equals a particular value (according to trapezoid integration).

Usage

NormCurvToArea(y, x = seq(0, 1, length.out = length(y)), area = 1)

Arguments

y

values of curve at time-points x

x

design time-points (default: seq(0,1, length.out=length(y)))

area

value to normalize the curve onto (default: 1)

Value

values of curve at times x such that its integration over x equals area.


fdapace documentation built on July 3, 2024, 5:08 p.m.