Understanding your data – part 1

To understand the data structure and type, summary statistics and visualization of the distribution of data is much important For basic, A data can be of two types, "Categorical/Qualitative" or "Numerical/Quantative" Categorical can be of two types - a. Ordinal or b. Non-ordinal Numerical data can be of two types - a. Discrete or b. … Continue reading Understanding your data – part 1

Data Visualization with ggplot2 (#part 1)

ggplot is based on grammer of graphics (gg), which means you can draw every graph with few basic components like: a data seta set of geom or geometry - which represents the data pointsa coordinate system You can marge you data points with aes or aesthetic components to provide a beautiful graphical visualization. For this … Continue reading Data Visualization with ggplot2 (#part 1)

Correlation Using ggcorrplot

#The hypothetical data frame, #Lets say, >A <- c(2, 4, 6, 8, 12, 5, 7,8) >B <- c(4,5,6,2,9,13,2, 6) >C <- c(3,5,7,2,4,8,3,6) >D <- c(4,6,2,5,7,4,6,9) DD <- data.frame(A,B,C, D) #correlation with package ggcorrplot - installing the package and importing the library install.packages("ggcorrplot")library("ggcorrplot") #doing the correlation test using pearson method and assigning the results to variable … Continue reading Correlation Using ggcorrplot

Doing correlation in R using corrplot

#Creating a imaginary data frame Lets say >A <- c(2, 4, 6, 8, 12, 5, 7,8) > B <- c(4,5,6,2,9,13,2, 6) > C <- c(3,5,7,2,4,8,3,6) >D <- c(4,6,2,5,7,4,6,9)DD <- data.frame(A,B,C, D) #correlation with package corrplot > install.packages("corrplot") library("corrplot") #doing the correlation test and plotting the matrix #we have assigned the result of the correlation to … Continue reading Doing correlation in R using corrplot