search for: can8

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

Did you mean: can
2007 Sep 12
0
constructing an lm() formula in a function
...-4.06 -3.13 ... $ Can3 : num 1.241 -0.561 -1.299 0.642 2.217 ... $ Can4 : num 1.313 -0.402 -1.631 2.481 0.384 ... $ Can5 : num -1.913 -1.103 -0.428 1.134 -0.937 ... $ Can6 : num -0.4219 -0.3593 1.2070 0.0652 -0.6424 ... $ Can7 : num 0.701 0.243 -0.728 1.147 -0.149 ... $ Can8 : num 0.0728 1.4491 -0.1546 -1.5191 -0.2374 ... $ Can9 : num -2.4318 1.2773 -0.0905 1.0646 -1.8069 ... > str(can1$terms) chr [1:2] "Block" "Gp" OK, so now in a function I want to do the equivalent of fitting lm( cbind(Can1, Can2, ... Can9) ~ Block+Gp, data=can$sc...