Hello, axsize <- max(i) allsize <- axsize * axsize x <- array(c(1:allsize), dim=c(axsize, axsize)) x[1:allsize] <- 0 x[i] <- 1
for (c in 1:axsize) { ourgraph <- data.frame(edges=x, vertices=c(1:axsize), ith=c, components=list(1), communities=list(1), row.names=NULL) browser() When I get to browser, printing ourgraph$edges gives NULL while printing x gives the matrix with the correct values. What am I writing wrong? Regards, Wind0w Glass ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help