[R] Absolut newbie questions
Philipp Pagel
p.pagel at gsf.de
Thu Nov 6 17:13:14 CET 2003
Hi!
> We have just measured dx and dt (d standing here for \Delta) on an inclined
> plain and received some data thet are in two lists (x_list and t_list). The
> theory says, that dx = a/2*(dt)^2 for a constant a.
>
> I should like to fit the data against the theoretical prediction. This
> should deliver an estimate for a.
You will find everyhing you want to know in the chapter on statistical
models in the manual "Introduction to R". Also look at the online
documentation for lm() and maybe nls().
> Then I should like to graph the data (as bullets) and the predicted
> function into the same graph.
Have a look at the documentation for plot(), line() and predict().
cu
Philipp
--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg, Germany
More information about the R-help
mailing list