Re: [R] Help with regression

2014-09-04 Thread David Winsemius
On Sep 4, 2014, at 8:40 AM, Basilius Sapientia wrote: > I have this code: > Vm <- c(6.2208, 4.9736, 4.1423, 3.1031, 2.4795, 1.6483, 1.2328, 0.98357, > 0.81746, 0.60998); #Molvolume > p <- c(0.4, 0.5, 0.6, 0.8, 1, 1.5, 2, 2.5, 3, 4)*1000; #Pressure > Rydb <- 8.3144621; #Constant > Tempi <- 300; #T

Re: [R] Help with regression

2014-09-04 Thread Adams, Jean
You will find lots of examples if you do an internet search for R quadratic regression Here's just one ... http://www.theanalysisfactor.com/r-tutorial-4/ Jean On Thu, Sep 4, 2014 at 10:40 AM, Basilius Sapientia wrote: > I have this code: > Vm <- c(6.2208, 4.9736, 4.1423, 3.1031, 2.4795, 1

Re: [R] help with regression

2011-07-26 Thread ONKELINX, Thierry
Dear Joe, You need to use offset() lm(y ~ a + offset(b) + c) Best regards, Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek team Biometrie & Kwaliteitszorg Gaverstraat 4 9500 Geraardsbergen Belgium