[R] sudden problem with script

2008-04-30 Thread daniel guertin
Hi, First off, please understand that I am not a frequent R user. I am trying to use a script generated by another program in R for a certain analysis. I have used the script successfully in the past. Recently, when trying to load the script, I receive a warning message: package 'nls' has

[R] Linear regression and slope from 1

2007-10-15 Thread daniel guertin
Dear R-Users, I am new to R, so please excuse the ignorance. I have data: x (2.14, 2.41, 1.09, 0.17, 8.18) y (3.81, 5.13, 0.63, 0.75, 6.35) I would like to use simple linear regression and test 2 things: 1) slope of line of best fit is statistically different from 1 2) y-intercept is statically