search for: tot_c

Displaying 1 result from an estimated 1 matches for "tot_c".

Did you mean: tot_k
2000 Jun 15
1
[ ] within [ ]
...So for example, let the first column of w be a dichotomous variable taking values 1 or 2. I then have an array, arr, which has the number of response categories as its first dimension. I want to use a person's response to the item to select the `row' in the first dimension of the array. tot_c(0) for (i in 1:n){ tot_tot+arr[w[i,1],1,1] } I just tried it in S-Plus and it worked. Should it work in R or is this is a language difference? Thanks for your time. Brian Flaherty -- /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ -.-...