Displaying 1 result from an estimated 1 matches for "mat_row".
Did you mean:
mat1row
2007 Mar 25
1
for loop help
...s(ss.list)) {
print(ss)
ss.count = ss.count + 1
query.string <- paste("SELECT * FROM ",ss,";",sep="")
#print(query.string)
data_gcs <- dbGetQuery(con, query.string)
attach(data_gcs)
names(data_gcs)
mat_row = 0
for(i in levels(roi.list)){
print (i)
current.roi <- data_gcs[data_gcs$ROI==i,]
current.roi.plus.z <- data.frame(current.roi,
scale(current.roi[,15]), scale(current.roi[,18]),
scale(current.roi[,21]), scale(current.roi[,24]))
t...