search for: c_parameter_estimates_1

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

2009 Mar 22
1
Converting Matrix into List - problem (urgent)
...congeneric = matrix(rep(NA,36),nrow=6,ncol=6) conFirst = matrix(rep(NA,36),nrow=6,ncol=6) conFirstTwenty = rep(NA, 20) k = 1 #Reading all the Alpha and Congeneric 2PL values into variables alpha <- read.table("2PLAlphaGenPars_1.dat", header=FALSE) congeneric <- read.table("C_parameter_estimates_1.dat", header=FALSE) for (i in 1:6) { for (j in 1:6) { conFirst[i,j] = as.matrix(congeneric[i,j]) if (k <= 20) { conFirstTwenty[k] = as.list(conFirst[i,j]) k = k + 1 } } } In the above program i'm picking up the first 20 values from the Matrix and putting...