search for: lebrec

Displaying 1 result from an estimated 1 matches for "lebrec".

2007 Aug 28
3
Forcing coefficients in lm object
...rame(x=as.factor(c(1,2,1,2))) > predict.lm(fit, dat.new) 1 2 3 4 12.5 23.5 12.5 23.5 > fit Call: lm(formula = y ~ x, data = dat) Coefficients: (Intercept) x2 12.5 11.0 > fit$coef (Intercept) x2 12.5 100.0 > J?r?mie Lebrec Dept. of Medical Statistics and Bioinformatics Leiden University Medical Center Postzone S-05-P P.O. Box 9600 2300 RC Leiden The Netherlands j.j.p.lebrec at lumc.nl