Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NormCurvToArea

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


Description

Normalise a curve such that \intyNewdx = area (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 normalise the curve onto (default: 1)

Value

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


fdapace

Functional Data Analysis and Empirical Dynamics

v0.5.6
BSD_3_clause + file LICENSE
Authors
Cody Carroll [aut, cre] (<https://orcid.org/0000-0003-3525-8653>), Alvaro Gajardo [aut], Yaqing Chen [aut], Xiongtao Dai [aut], Jianing Fan [aut], Pantelis Z. Hadjipantelis [aut], Kyunghee Han [aut], Hao Ji [aut], Shu-Chin Lin [ctb], Paromita Dubey [ctb], Hans-Georg Mueller [cph, ths, aut], Jane-Ling Wang [cph, ths, aut]
Initial release
2021-01-10,

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.