Displaying 2 results from an estimated 2 matches for "eval4".
Did you mean:
eval
2009 Sep 07
2
calling combinations of variable names
...combinations of a
given variable. So, for example, I want to compute the following ICC's
(function from the psych package):
ICC(cbind(evalR1,evalR2, evalR3))
ICC(cbind(evalR1,evalR2, evalR4))
ICC(cbind(evalR1, evalR3, evalR4))
ICC(cbind(evalR2, evalR3, evalR4))
ICC(cbind(evalR1, evalR2, evalR3, eval4)).
I create a matrix containing the 3-combinations by combn(4,3). Now I
need to call the variables into the function.
First, I tried paste as follows:
combis <- combn(4,3) # this gives the 3-combinations
attach(ratings)
eval <-
paste("evalR",combis[1,1],",evalR",combis[2...
2009 Sep 08
0
Re : calling combinations of variable names
...variable. So, for example, I want to compute the following ICC's
>(function from the psych package):
>ICC(cbind(evalR1,evalR2, evalR3))
>ICC(cbind(evalR1,evalR2, evalR4))
>ICC(cbind(evalR1, evalR3, evalR4))
>ICC(cbind(evalR2, evalR3, evalR4))
>ICC(cbind(evalR1, evalR2, evalR3, eval4)).
>
>I create a matrix containing the 3-combinations by combn(4,3). Now I
>need to call the variables into the function.
>First, I tried paste as follows:
>combis <- combn(4,3) # this gives the 3-combinations
>attach(ratings)
>eval <-
>paste("evalR",combis[...