[R] fix sign of a coefficient in formula

2011-01-20 Thread Peter Schmidtke
t? I read about offsets, but I just know the range of the coefficient, but not the exact value and doing something like that offset(seq(-1,0,0.01)*height) doesn't seem to work in lm. Thanks in advance for any hint! Best regards. -- Peter Schmidtke PhD Student Dept. Physical Chemistry Faculty

[R] interacting variables in a formulae in R

2009-07-15 Thread Peter Schmidtke
it")) What does R with the numerical values of descriptor1 and 2 in order to fit the data? How I can rewrite the model in a mathematical form? Thanks in advance. Best regards. -- Peter Schmidtke -- PhD Student at the Molecular Modeling and Bioinformatics Group Dep. Physic