Learn R Programming

fdapace (version 0.6.0)

NormCurvToArea: 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)

Value

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

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)