search for: ordrating

Displaying 2 results from an estimated 2 matches for "ordrating".

Did you mean: operating
2011 Apr 17
1
converting data.frame into a numeric ( integer) form
Hi Everyone, I am relatively new to R and would appreciate your help on this problem that I encontered this morning. When running an ordinal IRT model using Ratings package on R, I keep getting this error message. ord.out<-ordrating(UNORD, burnin = 1000, mcmc = 40,000, thin = 400, tune = 1, verbose = 1000, seed = NA) Error in as.vector(as.integer(Y)) : (list) object cannot be coerced to type 'integer' UNORD is my data.frame and it is in the form of delimited CSV file without either row or column name. According to...
2011 Apr 18
0
error message while running IRT model
...de functionto all the variable I want to recode UN2010[colname] <- lapply(UN2010[colname], function(x) recode(x, recodes = "8=NA", as.factor.result = FALSE, as.numeric.result = TRUE)) UN2010frame<-data.matrix(lapply(UN2010,as.numeric)) ord.out1<-ordrating(UN2010, beta.constraint=1, tune=.035, ma=1, mb=-5, vinva=1, vinvb=0.05, gamma.start=c(-300, 0, 1.5, 3.0, 4.5, 300), thin=20, burnin=20000, mcmc=100000, verbose=1000) ########################################################## However, when i try to run the above ordrating code, an error message co...