[R] Fits & splines

From: Eric-Olivier Le Bigot <Eric.Le.Bigot_at_spectro.jussieu.fr>
Date: Wed 20 Apr 2005 - 18:47:50 EST

   Hello all,

   Do you know of convenient functions that can do:

  1. a fit "f(x)" of data points with a spline, and *then*
  2. weighted fits of other data points ** with a model of the form a*f(x-x0) **? [i.e., the goal is to find a and x0, ideally with their covariance matrix], and
  3. if possible, the same as (2) above, but with the same model *convoluted with a gaussian* (whose height and width should be fitted).

R looks really powerful for doing these kind of things, and I'd like to use it for analyzing X-ray spectra.

After doing some research, I came accross a few packages: gss, stats, assist, psline; but I have not yet been able to figure out a way of performing the fits with splines described in (2) and (3) above.

Any help would be welcome!

EOL [new to R, and not a statistician--only a physicist]

--
Dr. Eric-Olivier LE BIGOT (EOL)                     CNRS Associate Researcher

~~~o~o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o~o~~~
Kastler Brossel Laboratory (LKB) http://www.lkb.ens.fr Université P. & M. Curie and Ecole Normale Supérieure, Case 74 4 place Jussieu 75252 Paris CEDEX 05 France
~~~o~o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o~o~~~
office : 01 44 27 73 67 fax: 01 44 27 38 45 ECR room: 01 44 27 47 12 x-ray room: 01 44 27 63 00 home: 01 73 74 61 87 (NEW!) For int'l calls: 33 + number without leading 0

______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Received on Wed Apr 20 19:15:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:17 EST