Displaying 2 results from an estimated 2 matches for "tronter".
Did you mean:
tonter
2007 Jun 07
2
Nonlinear Regression
Hello
I followed the example in page 59, chapter 11 of the 'Introduction to R'
manual. I entered my own x,y data. I used the least squares. My function has
5 parameters: p[1], p[2], p[3], p[4], p[5]. I plotted the x-y data. Then I
used lines(spline(xfit,yfit)) to overlay best curves on the data while
changing the parameters. My question is how do I calculate the residual sum
of squares.
2007 Jun 05
3
R: x-y data
Hello
I have an Excel file with x-y data. I saved this file as a cvs file. Then I
used the read.table() function to read the data into R. If I have a formula
like (x+y)/2, how would I access x and y in R? I have the table named as
something. But how do I access the individual columns if I want to plug them
into the formula?
Thanks
--
View this message in context: