Latest Blog Post

How to Set and Get Working Directory [setwd() and getwd()] in R
Set the current working directory The setwd() function sets the working directory to the new …

Standard deviation in R [Using sd() Function]
The sd() function in R calculates the sample standard deviation of a numeric vector or …

R dnorm(): Probability Density Function
The dnorm() function in R calculates the value of the probability density function (pdf) of …

R rep() Function: Repeating Elements of a Vector
R rep() is a generic function that replicates elements of vectors and lists for a …

Splitting Strings: A Beginner’s Guide to strsplit() in R
The strsplit() function in R splits elements of a character vector into a list of …

Understanding of rnorm() Function in R
The rnorm() method in R generates random numbers from a normal (Gaussian) distribution, which is …