0% found this document useful (0 votes)
43 views4 pages

DATA ANALYTICS Practical 1

The document introduces R programming language. It discusses key aspects of R including its use for statistical computing, data analysis, graphics and visualization, as a programming language, extensive package ecosystem, and integration capabilities. Overall, the document presents R as a versatile tool for statistical analysis and data science.

Uploaded by

vidushivats17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views4 pages

DATA ANALYTICS Practical 1

The document introduces R programming language. It discusses key aspects of R including its use for statistical computing, data analysis, graphics and visualization, as a programming language, extensive package ecosystem, and integration capabilities. Overall, the document presents R as a versatile tool for statistical analysis and data science.

Uploaded by

vidushivats17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Name - Vidushi Vats Roll No.

- 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.

Here's a brief introduction to some key aspects of R :-


1). Statistical Computing:- R provides a wide array of statistical techniques, including linear and
nonlinear modelling, time-series analysis, clustering, and more. It's equipped with a comprehensive set of
functions and packages tailored to various statistical needs.
2). Data Analysis:- R is well-suited for data manipulation, transformation, and exploration. It supports
handling various data types, including vectors, matrices, data frames, and lists, making it convenient for
analysing structured data.
3). Graphics and Visualization:- R offers extensive capabilities for creating high-quality graphs and
visualizations. It includes built-in functions for producing plots such as scatter plots, histograms, bar plots,
box plots, and more. Additionally, packages like ggplot2 provide a powerful and flexible framework for
creating complex and customized graphics.
4). Programming Language:- R is a functional programming language with support for object-oriented
programming paradigms. It allows users to write scripts and functions to automate tasks, customize
analyses, and build reusable code.
5). Package Ecosystem:- One of the strengths of R is its vast ecosystem of packages contributed by users
worldwide. These packages extend the functionality of R in various domains, covering topics such as
machine learning, natural language processing, spatial analysis, time series analysis, and more.
6). Integration:- R can be easily integrated with other programming languages and tools. For example, it
can interface with databases, web services, and APIs, enabling seamless data extraction and integration
into analyses.
7). Community Support:- R benefits from a large and active community of users and developers who
contribute to its development, share knowledge, and provide support through forums, mailing lists, and
online resources.
Overall, R is a versatile and powerful tool for statistical computing and data analysis, making it a preferred
choice for researchers, statisticians, data scientists, and analysts across various industries. Whether you're
exploring data, conducting complex analyses, or creating compelling visualizations, R offers the tools and
resources to turn data into insights..

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.

Q3: write a program to reverse the values of 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.

Q8 :-write a program to check input number is negative , positive or zero

Q9:- write a program to check input number is positive even integer no. or not

Q10:- write a program to check input year is leap year or not

You might also like