In R programming, the value 'NA' is used to represent a missing value. Say we try to read a csv…
In data analysis it is often needed to set new values to a variable based on one or several conditions,…
R has rich resources of functions dealing with date values in data analysis. In this post, we introduce and show…
n this post, we show how to generate random numbers into vector and matrix in R programming, from various statistical…
It is not uncommon to generate random sequences in R programming. sample() function provides the feasibility of generating such random…
Linear regression is widely used to model the relationship between response or dependent variable and explanatory or independent variables. The…
When we do data analysis, random variables in the dataset are usually mutually correlated. Sometimes, we may want to measure…
When a correlation, usually Person type correlation, is calculated, two variables have to be continuous. But this requirement does not…
dplyr is a package that belongs to tidyverse framework. dplyr allows usage of pipeline structure (%>%), which can chain multiple…
R language provides several useful functions for importing delimited files and creating data frames. These delimited files are often stored…