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

Description Usage Arguments Value

View source: R/NormCurveToArea.R

Description

Normalise a curve such that \intyNewdx = area (according to trapezoid integration)

Usage

1
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 normalise the curve onto (default: 1)

Value

yNew values of curve at times x such that [\intyNewdx = area]


fdapace documentation built on May 24, 2021, 9:06 a.m.