Generating Even / Odd numbers using R – R tutorial

30468
In the below tutorial I have explained how you shall generate Even or Odd numbers using R. You can generate using any one of the following methods.

Method 1:
Generating even numbers between 1 to 100

even <- seq(0,100,2)

Method 2:
Generating 100 odd numbers starting from 1

odd <- seq(1,by=2, len=100)
Subscribe to SAR Publisher and Support my YouTube channel for more videos on R and data analysis.
Previous articlePassword Protect your file with LibreOffice
Next articleWhat is Question Hour in the Indian Parliament?
A.Sulthan, Ph.D.,
Author and Assistant Professor in Finance, Ardent fan of Arsenal FC. Always believe "The only good is knowledge and the only evil is ignorance - Socrates"
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments