Analysis of Covariance

Analysis of Covariance is most important in statistics. To create models, we use Regression analysis which describes the effect of variation in predictor variables on the response variable. In some cases, if you have a categorical variable with values like Male/Female or Yes/No etc. Simple regression analysis gives several results for each value of the … Read more

R Function

The R function is a set of statements that are organized together to perform a particular task. R language facilitates a series of built-in functions and permits to use to create their own functions. The modular approach is used to perform tasks in functions. Usually, functions are used to avoid repetition of the same task … Read more

Line Graph in R

The line graph in R has a line that connects all the points in a diagram. With the help of plot() functions you can create a line and add the type parameter with a value of ā€œlā€ in R programming: Output: Line Color To change the color you can use col parameter, remember the color … Read more

R Classification

The R classification algorithm is a very easy task. By analyzing the training dataset we can predict the target class. We can obtain better boundary conditions that can be used to check the target class using the training dataset. The whole process is known as classification.  R Classification algorithms Some important points of R classification … Read more

Distribution in R

There are two types of distribution in R as follow: Normal Distribution Binomial Distribution Normal Distribution in R The random collection of data from independent sources is known as normal distribution in R. Now we know that we will get a bell shape curve if we plot a graph with the value of the variable … Read more

R Visualization

Visually appealing data visualizations can be created by writing few lines of code. We use the diverse functions of R visualization as an efficient technique for gaining insight into data through a visual medium. A human can easily get information about hidden patterns in data that might be neglected. We can work with a large … Read more

XML File in R

XML is also a markup language that stands for extensible markup language like HTML. Which contains markups tags. You read the XML file in R by installing the XML package. This package can be installed using the following command. Creating XML file Create an XML file by copying the below data into a text editor … Read more

Data Reshaping in R

The data reshaping in R is the name of changing the data organized in rows and columns. Data processing is done by taking the input as a data frame. It is the easiest method to extract data from the rows and columns of the data frame, but here is a problem when you want a … Read more

CSV file in R

CSV stands for Comma Separated Values file, which is a plain text file that contains a list of data. CSV file in R is used for exchanging the data between different applications. Like contact managers and databases mostly support CSV files. Getting and Setting the Working Directory The getwd() function is used to check which … Read more

Excel File in R

The excel file extension that stores data in the .xls or xlsx format. There are several packages to perform the operations on an excel file in R programming. These packages are XLConnect, xlsx, gdata etc. Install xlsx Package You can use the following command in the R console to install the “xlsx” package. Verify and … Read more