Displaying 1 result from an estimated 1 matches for "strs307".
Did you mean:
strs303
2009 Mar 21
2
factor with numeric names
...seed.str <- paste("S", Loblolly$Seed, sep="")
seed.str <- factor(seed.str)
fit <- lm(height ~ age + seed.str, data=Loblolly)
fit
Call:
lm(formula = height ~ age + seed.str, data = Loblolly)
Coefficients:
(Intercept) age seed.strS303 seed.strS305 seed.strS307
-0.4301 2.5905 0.8600 1.8683 -1.9183
seed.strS309 seed.strS311 seed.strS315 seed.strS319 seed.strS321
0.5350 -1.5933 -0.8867 -0.3650 -2.0350
seed.strS323 seed.strS325 seed.strS327 seed.strS329 seed.strS331
0.3067 -...