search for: allmat

Displaying 2 results from an estimated 2 matches for "allmat".

Did you mean: allman
2010 Dec 22
1
matrix indexing in 'for' loop?
Hi, I am having trouble with matrices. I have 2 matrices as given below, and I am interested in using these matrices inside "for" loops used to calculate correlations. I am creating a list with the names of the matrices assuming this list could be indexed inside the 'for' loop to retrieve the matrix values. But, as expected the code throws out an error. Can someone suggest a
2003 Nov 22
3
1.8.1 behavior change?
In <R 1.8.1 the following fragment worked properly, now (1.8.1) it creates the following warning/error: Any advice appreciated. stt <- data.frame() # load all datasets into a dataframe for (ds in 1:n) { stt[ds] <- as.matrix(read.table(fileList[ds])) } -- > stt <- data.frame() > # load all datasets into a dataframe > for (ds in 1:n) { + stt[ds] <-