Skip to content
Prev 275657 / 398506 Next

Fitting Maximums of data series with cubic spline

On 10/27/2011 10:46 AM, Zablone Owiti wrote:
Hi Zablone,

As a first remark, to get meaningful responses:

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

For calculating the maximum, use the max() function. For fitting splines
take a look at the splines package.

good luck,
Paul