Skip to main content

R programming

R is a programming language.

R is often used for statistical computing and graphical presentation to analyze and visualize data.

Example

How to output some text, and how to do a simple calculation in R:

"Hello World!"

5 + 5

Result:

[1] "Hello World!"

[1] 10


Example

How you can use R to easily create a graph with numbers from 1 to 10 on both the x and y axis:

plot(1:10)

Result:

What is R

R is a popular programming language used for statistical computing and graphical presentation.

Its most common use is to analyze and visualize data.

Why Use R?

  • It is a great resource for data analysis, data visualization, data science and machine learning
  • It provides many statistical techniques (such as statistical tests, classification, clustering and data reduction)
  • It is easy to draw graphs in R, like pie charts, histograms, box plot, scatter plot, etc++
  • It works on different platforms (Windows, Mac, Linux)
  • It is open-source and free
  • It has a large community support
  • It has many packages (libraries of functions) that can be used to solve different problems

Get Started

This tutorial will teach you the basics of R.

It is not necessary to have any prior programming experience.





Comments

Popular posts from this blog

Python - How To Merge Two Dictionaries

  Python -  How to merge two dictionaries As we know If you are working as Python developer, data analytics or data scientists for any organisation then it is very important for you to know how to merge two dictionaries. There are various ways in which Dictionaries can be merged by the use of various functions and constructors in Python. In this article, we will discuss a few ways of merging dictionaries.  Using the method update () By using the method update() in Python, one list can be merged into another. But in this, the second list is merged into the first list and no new list is created. It returns  None .    Example # Python code to merge dict using update() method def Merge(dict1, dict2):      return (dict2.update(dict1))        # Driver code dict1 = { 'a' : 20 , 'b' : 8 } dict2 = { 'd' : 6 , 'c' : 4 }   # This return None print (Merge(dict1, dict2))   # changes made in dict2 print (dict2) Output None {'c': 4, 'a': 20,

IoT - Internet of Things

IoT ( Internet Of Things) The Internet of things (IoT) is a system of interrelated computing devices, mechanical and digital machines provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. IoT in simple words The Internet of Things is simply "A network of Internet connected objects able to collect and exchange data." It is commonly abbreviated as IoT. In a simple way to put it, You have "things" that sense and collect data and send it to the internet. Uses of IoT IoT technology is most synonymous with products pertaining to the concept of the "smart home", covering devices and appliances (such as lighting fixtures, thermostats, home security systems and cameras, and other home appliances) that support one or more common ecosystems, and can be controlled via devices associated with that ecosystem, such as smartphones and smart speakers.

URL - Uniform Resource Locator

What is URL? A Uniform Resource Locator (URL), colloquially termed a web address,is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it.  A URL is a specific type of Uniform Resource Identifier (URI) WEBSITE https://url.spec.whatwg.org HTTP uses Internet address in a special format called a Uniform Resource Locator Or URL. URLs look like this: type://address/path The other example of URLs are: ftp://ftp.prenhall.com,http://www.yahoo.com,news://alt.tennis ,www.Instagram.com,www.Facebook.com ,www.blogger.com etc. A URL is also referred to as Web Address Sometimes. Element of a URL A URL(Uniform Resource Locator) is an address of a file on Internet . Let us discuss the components or syntax elements of URLs. A file's Internet address , or URL, is determined by the following: The type of server or protocol The name/address of the server on the Internet The location of the file on the server ( this location may be related as