Skip to content
Prev 83341 / 398506 Next

loop

Duncan Murdoch <murdoch at stats.uwo.ca> writes:
I think not. The assignment to "qw" only depends on "count", so it's small
wonder that the end result is that of the last iteration. If the
intention was to append to "qw", then you need something like

  qw <- c(qw, g[count],1:i[count])