Displaying 2 results from an estimated 2 matches for "meanstempc1".
2010 Dec 11
2
remove quotes from the paste output
...older and
create the following variables in R for each file read:
#C..PilotStudy.Mplus_Input.Test.rep1.out.unstandardized.est
#C..PilotStudy.Mplus_Input.Test.rep2.out.unstandardized.est
#C..PilotStudy.Mplus_Input.Test.rep3.out.unstandardized.est
modelResultsTemp <- as.data.frame(modelResults)
MeansTempC1 = rep(NA ,9)
counter = 1
for (f in 1:3)
{
i=31
for (g in 1:3)
{
OutputFileName <-
paste("modelResultsTemp$C..PilotStudy.Mplus_Input.Test.rep",f,".out.unstandardized.est[",i,"]",sep="")
MeansTempC1[counter] = OutputFileName
i=i+1
counter = counter+1
}
}...
2011 Mar 05
0
extractModelParameters HELP!!!
...numReps = length(list.files(CurrentDir, pattern="*.out"))
after the above code is executed, 'modelResults' has all the data from the out
files as different elements of the returned list. I'm accessing est. column from
each element in the following way:
for (g in 1:numReps)
MeansTempC1[counterC1] <- modelResults[[g]]$est[31]
I'm able to get the values from the est. column successfully for 359 cells which
consist of 29532 out files. For just 1 particular cell, when I try to access
the est. column or any other column in that out file, i.e. est_se or
paramHeader, i get...