Displaying 1 result from an estimated 1 matches for "calctheta".
2012 Jun 19
1
weird --no 'dimnames' attribute for array-- error for R lordif package
Hi All,
? I am trying to use the lordif package in R and can't figure out the reason for the above error when I try to run the calctheta() function.
##################
# read data using foreign package - must be Stata 11 or earlier
racedata<- read.dta("race.dta")???
# item responses
resp.data<-racedata[,-c(1:2)]
# grouping variable is in the second column
af<-racedata[,2]
# run lordif
>race.dif<...