Displaying 1 result from an estimated 1 matches for "confirsttwenty".
2009 Mar 22
1
Converting Matrix into List - problem (urgent)
Hi,
I'm trying to convert Matrix into a list format and have written the following code:
path = ("C:/2PL_Alpha_C_2PL_Loading")
setwd(path)
getwd()
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] =...