0% found this document useful (0 votes)
25 views6 pages

Data Analysis p-1

The document introduces R programming language and provides an objective to learn its introduction. It discusses features of R like packages, distributed computing and applications in data science and quantitative analysis. It also provides 10 questions asking to write programs to perform various operations like checking number properties, sorting vectors, finding maximum/minimum values.

Uploaded by

vikas prajapati
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)
25 views6 pages

Data Analysis p-1

The document introduces R programming language and provides an objective to learn its introduction. It discusses features of R like packages, distributed computing and applications in data science and quantitative analysis. It also provides 10 questions asking to write programs to perform various operations like checking number properties, sorting vectors, finding maximum/minimum values.

Uploaded by

vikas prajapati
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/ 6

PRATICAL – 1

Objective:
introduction to R programming.
 R programming is used as a leading tool for machine learning, statistics, and data
analysis. Objects, functions, and packages can easily be created by R.
 It’s a platform-independent language. This means it can be applied to all operating
systems.
 It’s an open-source free language. That means anyone can install it in any organization
without purchasing a license.
 R programming language is not only a statistic package but also allows us to integrate
with other languages (C, C++). Thus, you can easily interact with many data sources
and statistical packages.
 R is currently one of the most requested programming languages in the Data Science job
market which makes it the hottest trend nowadays
 It was designed by Ross Ihaka and Robert Gentleman at the University of Auckland,
New Zealand, and is currently being developed by the R Development Core Team.
 R programming language is an implementation of the S programming language. It also
combines with lexical scoping semantics inspired by Scheme. Moreover, the project was
conceived in 1992, with an initial version released in 1995 and a stable beta version in
2000.
Features of R Programming Language
 R Packages: One of the major features of R is it has a wide availability of libraries. R
has CRAN (Comprehensive R Archive Network), which is a repository holding
more than 10, 0000 packages.
 Distributed Computing: Distributed computing is a model in which components of a
software system are shared among multiple computers to improve efficiency and
performance.
Applications of R
 We use R for Data Science. It gives us a broad variety of libraries related to statistics.
It also provides the environment for statistical computing and design.
 R is used by many quantitative analysts as its programming tool. Thus, it helps in data
importing and cleaning.
Question 1:write a program to check whether a given number is positive, negative or
zero?

Question 2: write a program to check whether the input year is leap or not.
Question 3: write a program to check whether the input no. is even positive no. or even
negative no.

Question 4: write a program to take input as name and age of any person and check
whether he or she is eligible for vote or not.
Question 5: write a program to perform various arithmetic operation and miscellaneous
operation [colon, inoperator] or to predefine input vector of length 7.

Question 6: write a program to identify the distinct value from a given vector.
Question 7: write a program to reverse the order of a given vector.

Question 8: write a program to sort a value of a vector in ascending and descending


order.

Question 9: write a program to find the second large value from a given vector.
Question 10: write a program to perform various statistical operation on a vector.

You might also like