search for: functionto

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

Did you mean: function_o
2011 Apr 18
0
error message while running IRT model
...ollows: ## opening a data set on the desktop setwd("C:/Users/haillie/Desktop") UN2010<- read.csv("UN2010.csv",header=TRUE) ##calling libraries library(reshape) library(car) ## these are the variables I want to recode colname <- names(UN2010) ## this applies the recode 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(UN2...