# Category: Methods

## Simple Linear Regression in R

Simple Linear Regression in R, A straightforward query is resolved by linear regression: Is it possible to assess the exact connection between one target variable and a group of predictors? The straight-line model is...

## IF ELSE- ELSE IF Statement in R

IF ELSE- ELSE IF Statement in R, A developer’s best tool when trying to return output based on a condition is an if-else statement. The syntax in R is: if (condition) {     Expr1...

## Forest Plot in R-Quick Guide

Forest Plot in R, A forest plot, also known as a “blobbogram,” is used in meta-analyses to combine the findings of multiple research into a single figure. In the previous article we discussed about...

## The Role of Data Science in Preventing Fraud

The Role of Data Science in Preventing Fraud, Since about 15 years ago, data mining has been dubbed the “new oil rush,” yet the techniques for processing the unprocessed, unrefined data and the devices...

## LAB to Delta E conversion in R

LAB to Delta E conversion in R, First we need to understand what is Delta E. The “distance” between two colours is represented by a single integer called delta-E. It’s alluring to just contrast...

## How to Choose Appropriate Clustering Method for Your Dataset

How to Choose Appropriate Clustering Method, Data clustering is a crucial step in creating a complete and accurate data model. The volume of data needs to be sorted out based on commonalities in order...

## Assess Performance of the Classification Model

Assess Performance of the Classification Model, We can evaluate a classification model’s effectiveness using a metric called the Matthews correlation coefficient (MCC). It is determined by: MCC = (TP*TN – FP*FN) / √(TP+FP)(TP+FN)(TN+FP)(TN+FN) where:...

## Training and Testing Data in Machine Learning

Training and Testing Data in Machine Learning, The quality of the outcomes depend on the data you use when developing a predictive model. Your model won’t be able to produce meaningful predictions and will...

## Combine Rows with Same Column Values in R

Combine Rows with Same Column Values in R, To combine rows with the same column values in a data frame in R, use the basic syntax shown below. library(dplyr) df %>%   group_by(group_var1, group_var2)...

## Difference Between cat() and paste() in R

Difference Between cat() and paste() in R, you can concatenate strings together using both the cat() and paste() functions, however, they differ differently in the following ways: The concatenated text will be displayed to...