search for: filename_fs

Displaying 3 results from an estimated 3 matches for "filename_fs".

Did you mean: filename's
2009 Jan 28
1
stack data sets
...onFile <- stack(resp.prob) ###################################### #Rounding upto 2 decimal places while showing the correlation matrix round(cor(GenData$observed),2) #Factor Score FactorScore=factor.pa(GenData$observed,1,scores = "TRUE") round(cor(FactorScore$scores,GenData$latent),2) filename_fs <- paste("FactorScore_",k,".dat") #Exporting Factor Scores to Output file write.table(FactorScore$scores,filename_fs,col.name=FALSE, row.name=FALSE) } Thank you Nidhi
2009 Jan 28
0
How to stack data sets?
...nFile <- stack(resp.prob) ###################################### #Rounding upto 2 decimal places while showing the correlation matrix round(cor(GenData$observed),2) #Factor Score FactorScore=factor.pa(GenData$observed,1,scores = "TRUE") round(cor(FactorScore$scores,GenData$latent),2) filename_fs <- paste("FactorScore_",k,".dat") #Exporting Factor Scores to Output file write.table(FactorScore$scores,filename_fs,col.name=FALSE, row.name=FALSE) }
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems