Calculate point-biserial and biserial correlations using R

11 months ago

When a correlation, usually Person type correlation, is calculated, two variables have to be continuous. But this requirement does not…

Use spread() of dplyr in R to convert long-form dataset into wide-form

12 months ago

dplyr is a package that belongs to tidyverse framework. dplyr allows usage of pipeline structure (%>%), which can chain multiple…

Creating data frames using read.table() and read.csv() in R

1 year ago

R language provides several useful functions for importing delimited files and creating data frames. These delimited files are often stored…

Creating and indexing lists in Python

1 year ago

List is the simplest type of data structure in Python programming. A list is used to store a collection of…

How to install Anaconda and start programming with Python?

1 year ago

Python is among the most popular programming language for data science nowadays, and getting started with Python is quite easy.…

How to create factor variables in R programming

1 year ago

Categorical variables, including nominal and ordinal variables in R programming language are called factor variables. For example, gender(male/female) is nominal,…

Getting started working with R programming language

1 year ago

When R software and RStudio program have been installed on your computer, R working session can be simply started by…

Creating and indexing a list in R

1 year ago

list is a type of data structure in R programming language. Unlike other data structures, especially matrix and vector, in…

Violin plots with ggplot2 in R

1 year ago

Violin plot is quite similar as boxplot, in the sense that it shows the range of the data. And at…

Passing a List to Function in Python

1 year ago

When we perform data analysis using Python, it is often useful to pass a list in calling the function as…