Skip to content
Prev 277319 / 398506 Next

Very simple loop

Hi,
On Mon, Nov 14, 2011 at 10:59 AM, Davg <davidgrimsey at hotmail.com> wrote:
R indexing starts with 1, so even though x starts with 0, the corresponding
index is 1:201

You don't need a loop at all: R can easily handle this with:

all.sum <- A + B + C + D + E + F + G
What kind of plot? You might check out
?hist
and
?plot
for ideas.

Sarah