R Programming

Plot Barchart with ggplot2 in R

We provide effective and economically affordable training courses for R and Python, Click here for more details and course registration…

9 months ago

Aggregating data using aggregate() in R

In R programming, function aggregate() provides an easy way to calculate summary statistics of variables by specific groups in a…

9 months ago

Assessing Normality Assumption for Linear Regression in R

The normality assumption in linear regression is necessary to ensure the estimates of parameters are unbiased and the hypothesis testing…

10 months ago

Dealing with missing values in R

In R programming, the value 'NA' is used to represent a missing value. Say we try to read a csv…

10 months ago

Recode variables in R

In data analysis it is often needed to set new values to a variable based on one or several conditions,…

10 months ago

Working with date values in R

R has rich resources of functions dealing with date values in data analysis. In this post, we introduce and show…

10 months ago

How to generate random numbers from various statistical distributions using R

n this post, we show how to generate random numbers into vector and matrix in R programming, from various statistical…

10 months ago

Creating a random sequence using sample() in R

It is not uncommon to generate random sequences in R programming. sample() function provides the feasibility of generating such random…

10 months ago

Estimating simple linear regression model using lm() in R

Linear regression is widely used to model the relationship between response or dependent variable and explanatory or independent variables. The…

10 months ago

Calculating partial correlations with R

When we do data analysis, random variables in the dataset are usually mutually correlated. Sometimes, we may want to measure…

11 months ago