Re: [R] covariate or predictor

2014-11-25 Thread Rolf Turner
On 26/11/14 15:49, Bert Gunter wrote: Yes, Rolf -- she seems to think that covariates must be categorical and predictors categorical -- or maybe it's vice-versa. You of course meant "... covariates must be categorical and predictors numerical -- or maybe it's vice-versa." (I can't help persis

Re: [R] covariate or predictor

2014-11-25 Thread Bert Gunter
Yes, Rolf -- she seems to think that covariates must be categorical and predictors categorical -- or maybe it's vice-versa. Anyway, she apparently has not done any homework (e.g. by reading an Intro to R) and so doesn't understand the use of modeling formulas in lm() and thus does not understand th

Re: [R] covariate or predictor

2014-11-25 Thread Rolf Turner
On 26/11/14 13:57, Kristi Glover wrote: Hi, I am wondering how I can separate whether it is covariate or predictor in the ANOVA analysis. For example A<-structure(list(Machine = c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L), Diameter = c(20L, 25L, 24L, 25L, 32L, 22L, 28L, 22L,

[R] covariate or predictor

2014-11-25 Thread Kristi Glover
Hi, I am wondering how I can separate whether it is covariate or predictor in the ANOVA analysis. For example A<-structure(list(Machine = c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L), Diameter = c(20L, 25L, 24L, 25L, 32L, 22L, 28L, 22L, 30L, 28L, 21L, 23L, 26L, 21L, 15L), Stre