R Read table Function

The R read.table function is very useful to import the data from text files from the file system & URLs and store the data in a Data Frame. Let us see how to use this R read table function and manipulate the data in R Programming with an example. R Read table Syntax The syntax … Read more

SQL Server R Services

The odbcConnect function in this Programming is handy to establish a connection between SQL Server and R. This odbcConnect function starts the SQL Server R Services. And the sqlQuery function extracts data from tables and stores the data in a Data Frame. Let me show how to set up SQL Server R Services using ODBC … Read more

Create SQL Server Native Client Connection

Microsoft’s SQL Server Native Client 11.0 driver is a single DLL (dynamic link library). That contains run-time support for the application using APIs to connect with SQL Server 2005 to 2014 and Windows Azure Database. When working with SQL Server, this connection is faster than the ODBC Connection. Let me show you the step-by-step approach … Read more

Install R Packages

Packages are the fundamental concept of code reusability in R programming. A package is a collection of functions, sample data, and documentation that describes how to use them. There are multiple ways to install R Packages. In this R article, we are going to focus on the most commonly used techniques to install the package. … Read more

Mosaic Plot in R

The Mosaic Plot in R Programming is very useful to visualize the data from the contingency table or two-way frequency table. The R Mosaic Plot draws a rectangle, and its height represents the proportional value. From the second example, you see the White color products are the least selling in all the countries. Let us … Read more

Stem and Leaf Plot in R

A Stem and Leaf Diagram, also called Stem and Leaf plot in R, is a special table where each numeric value is split into a stem (First digit(s) ) and a leaf (last Digit). For example, 57 split into 5 as stem and 7 as leaf. In this article, we show you how to make a Stem and Leaf plot with … Read more

Stacked Barplot in R

The Stacked Bar Chart is very useful in comparing the data visually. Let us see how to Create a Stacked Barplot, Format its color, add legends, add names, creating clustered Barplot in R Programming language with an example. Before we get into the R Stacked Barplot example, let us see the data we will use for this … Read more

Boxplot in R Programming

The box plot or boxplot in R programming is a convenient way to graphically visualize the numerical data group by specific data. Let us see how to Create, Remove outlines, Format their color, add names, add the mean, and draw a horizontal boxplot in R Programming language with an example. R Boxplot Syntax The syntax … Read more

Histogram in R Programming

The Histogram in R Programming is very useful for visualizing the statistical information organized in user-specified bins (range or breaks). Though it looks like Barplot, R Histograms display data in equal intervals. Let us see how to Create a Histogram, Remove its Axes, Format its color, add labels, add the density curves, and make multiple … Read more

Scatter Plot in R Programming

The Scatter Plot in R Programming is very useful for visualizing the relationship between two data sets. The Scatter plot displays data as a collection of points that shows the linear relation between those two data sets. A Scatter Plot in R Programming language is also called a scatter chart, graph, diagram, or gram. For … Read more