We’ll start with the basics and gradually look into more complex uses.
> 1+1 [1] 2 >
Now, we can get the list of number using “:”, so lets see that
> (1:10) [1] 1 2 3 4 5 6 7 8 9 10 >
So as you can see above we got a list from 1 to 10.
Now, there’s one more way we can add a number to a list.
> (1:10)+5 [1] 6 7 8 9 10 11 12 13 14 15 >
So as you can see, we 5 to all the number between 1 to 10.
Technorati Tags: Statistical ,R,Perform,Simple,Addition,basics,Courier,Monospace,margin,width,csharpcode,kwrd,preproc,html,attr,lnum
Windows Live Tags: Statistical ,R,Perform,Simple,Addition,basics,Courier,Monospace,margin,width,csharpcode,kwrd,preproc,html,attr,lnum
WordPress Tags: Statistical ,R,Perform,Simple,Addition,basics,Courier,Monospace,margin,width,csharpcode,kwrd,preproc,html,attr,lnum
Blogger Labels: Statistical ,R,Perform,Simple,Addition,basics,Courier,Monospace,margin,width,csharpcode,kwrd,preproc,html,attr,lnum