Good day! Problems fixed. Resolutions:
Added require(pracma, warn.conflicts = FALSE) after library(pracma). The code is now working. (The examples in the link https://artax.karlin.mff.cuni.cz/r-help/library/pracma/html/whittaker show the sample code for the function, but not the prerequisites. I've found the prerequisites, so thank you very much!) Regards, Percy -----Original Message----- From: Berend Hasselman [mailto:b...@xs4all.nl] Sent: Friday, February 3, 2017 2:08 AM To: Percival Bueser Cc: r-help@r-project.org Subject: Re: [R] Help with implementing Whittaker-Henderson graduation for raw-data Why don't you just try the function whittaker from the pracma R package? There is an example which should be adequate for finding out what to do. Berend Hasselman > On 2 Feb 2017, at 03:44, Percival Bueser <percival_bue...@cocolife.com> wrote: > > 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 > > > <Sample_data.txt>______________________________________________ > 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. ______________________________________________ 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.