search for: rowc

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

Did you mean: row
2005 Dec 10
1
how to extract the row names of a matrix using for loop or other looping
...e cb 6 18 30 42 8 [[3]] ra rb rc rd re cc 9 21 33 45 7 ---------------------------------------------------------------------------------------------------- ##now if i want to extract the row names i can do it manually giving the values like rowc <- list(c(rownames(t[[1]])), c(rownames(t[[2]])), rownames(t[[3]])) but i like to do using for loop or other loops...could you give me some suggestion..i伌ve tried like this..but it is not working.... rowc<-list(for(i in 1:3){p<-c();k<-rownames(t[[i]]);p[[i]]<-print(k)...
2013 May 15
2
R help: Batch read files based on names in a list
* I am currently reading in a series of files, applying the same functions to them one at a time, and then merging the resulting data frames e.g.: >MyRows <- c("RowA", "RowB", "RowC")>>File1_DF <- read.delim("\\\\DirectoryToFiles\\File1_Folder\\File1.txt", stringsAsFactors=FALSE, check.names=FALSE)>File1_DF <- as.data.frame(t(File1_DF[MyRows,]))>File1_DF <- as.data.frame(t(File1_DF))>mergeDF <- merge(mergeDF,File1_DF, by.x = "Row....
2005 Dec 11
0
how to extract the row names of a matrix using for loop or otherlooping
...ra rb rc rd re >cc 9 21 33 45 7 >---------------------------------------------------------------------------------------------------- > > > ##now if i want to extract the row names i can do it manually giving the values like > > rowc <- list(c(rownames(t[[1]])), c(rownames(t[[2]])), rownames(t[[3]])) > > > but i like to do using for loop or other loops...could you give me some suggestion..i伌ve tried like this..but it is not working.... > > rowc<-list(for(i in 1:3){p<-c();k<-rownames(t[[i]])...