T-Test in R

As per statistics, the T-test in R is used to determine whether the mean of the two groups is equal to each other. The assumption for the test is that both groups are sampled from a normal distribution with equal fluctuation. There are two hypotheses used: Null hypothesis: It is assumed that the two means … Read more

R Database

The data is stored in a normalized format in the R database system. To carry statistical computing we need complex and advanced SQL queries. But in R programming we can connect very easily to many relational databases like Mysql, Sql server, Oracle, etc. It becomes a normal dataset when available in R programming and can … Read more

R Data Frame

Data is displayed in the format of the table in the R data frame. There are different data types inside the R data frames. The character can be the first column, second and third can be numeric or logical. However, each column must have the same type of data. Following are some R data frame … Read more

Nonlinear Least Square

Nonlinear Least Square for used in regression in R. We see that it is a rare case that the equation of the model is a linear equation giving a linear graph when we used regression analysis for real-world data. Because mostly the model equation of real-world involves higher degree mathematical functions like an exponent of … Read more

Chi-Square Test

To analyze the frequency table Chi-Square Test is used. This table is formed by two categorical variables. This test is used to check whether there is a significant relationship between these two variables. The variable may be from the same population or maybe categories like On/Off, Male/Female, etc. The chisq.test() function is used to perform this test … Read more

Web Data in R

We can scrap and save web data in R. Every website has its own identity to provide data for the availability of its user in the form of XML, CSV, and txt files. You can filter specific data from that website with the help of R programming. “RCurl” XML” and “String” are packages that are … 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