Displaying 2 results from an estimated 2 matches for "kamokoi".
Did you mean:
kameko
2008 Jan 30
1
assign column classes when creating a data frame from several vectors
R-helpers,
Thanks in advance for your help. I am an R newbie and I am having trouble
figuring out the easiest/most efficient way to assign classes to columns in
a newly created data frame. R seems to want to convert everything to a
factor when I use the cbind function to compile vectors into a data frame.
ID<-seq(1,10,1)
TREAT<-c(rep("B",5),rep("G",5))
2010 Sep 09
0
estimating treatment effect in blocked experiment
R-help,
I am interested in estimating the effect of a treatment (2 levels) on a
response. I've used a randomized blocked experiment (5 blocks). I run
the full model, let's say that it is...
lm1 <- lm(resp ~ treat + block)
...and find that there are no significant block effects. Now with
"treatment" contrasts, the parameter estimate for the non-reference
treatment