Good day everyone!

I would appreciate if anyone can help me regarding the following: I would
like to implement the Whittaker-Henderson smoothing to the raw data on the
attached .txt file, based on the description on this link:

https://artax.karlin.mff.cuni.cz/r-help/library/pracma/html/whittaker.html

On the attached .txt file, The x's are the independent variables and the y's
are the dependent variables. The signal to be smoothed is y, lambda = 1600
and d = 2.

Can anyone please send me a sample R script, or a link to an R script which
I can adapt, where I can get both the (1) smoothed graph and the (2)
smoothed values of y for each x given, and then import both the smoothed
graph and the smoothed values of y to Microsoft Excel?

Thank you very much.

Regards,

Percy


x       y
0       6.35
1       2.99
2       1.97
3       1.94
4       0.90
5       0.88
6       0.65
7       0.84
8       0.77
9       0.67
10      0.82
11      0.80
12      0.75            
13      0.82
14      0.74
15      0.43
16      0.88
17      0.74
18      0.72
19      0.55
20      0.60
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to