Displaying 1 result from an estimated 1 matches for "data_gc".
Did you mean:
data_ac
2007 Mar 25
1
for loop help
...hem. I have
paster part of the script below up to the point where it dies.
Thanks.
for (ss in levels(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(curren...