DATA ANALYTICS Practical 1
DATA ANALYTICS Practical 1
- 2200320139015
Practical - 1
Objective:- Introduction of R Language
Introduction:-
R is a powerful programming language and environment primarily used for statistical computing, data
analysis, and graphics. Developed by Ross Ihaka and Robert Gentleman in the early 1990s, R has since
grown into one of the most widely-used tools in the field of data science and statistics due to its flexibility,
extensibility, and vibrant open-source community.
Q1: write a program to create two vectors of length 7 each and perform all the
arithmetic operation along with colon and in operator.
Q2: write a program to find all the distinct values from a given vector.
Q4 :write a program to print the given vector in ascending and descending order both.
Q5:- write a program to find the second last element from a group.
Q6:- write a program to perform (max , min , sum , avg , sqrt , variance , standard
deviation ).
Q7:- write a program to take user name and age as a input and find out whether he or
she is eligible for vote or not.
Q9:- write a program to check input number is positive even integer no. or not