ed):
> dim( p ) = c(25,4,3)
> p2 = apply(p, c(2,3), sum)
> p3 = t(apply(p2, 1, function(fa) 100-(100*abs(fa/sum(fa)-(1/3))) ) )
p3 now contains all your results except the one including all the data, which
is trivial to compute.
--
Richard D. Morey
Assistan
# remove the unneeded variable
rm("temp",envir=testEnv)
But I figure there must be a more elegant way. Anyone have any ideas?
Thanks,
Richard
--
Richard D. Morey
Assistant Professor
Psychometrics and Statistics
Rijksuniversiteit Groningen / University of Groningen
http://drsmo
me model to the data with all approaches, so that
when I look at parameter estimates I know they are meaningful. Are the
multiple comparisons I'll get out of lme and lmer meaningful with fully
crossed factors, given that they are both "tuned" for nested factors?
Thanks in
3 matches
Mail list logo