## How to Overlay Plots in R-Quick Guide with Example

To make overlay Plots in R, we can make use of lines() and points() functions. Let’s create a scatter plot first and overly another line plot. Approach:- #Step1:-create scatterplot plot(x1, y1) #Step 2:-overlay line...

## 3D Plot in R Programming-Quick Guide

3D Plot in R, one of the quickest ways to create a 3D plot is to use the persp() function. 3D plot the data points on three axes to highlight the link between three...

## How to Calculate Mahalanobis Distance in R

In multivariate space, the Mahalanobis distance is the distance between two points. It’s frequently used to locate outliers in statistical investigations involving several variables. This tutorial describes how to execute the Mahalanobis distance in...

## How to Calculate Cross-Correlation in R

How to Calculate Cross-Correlation in R, The degree of resemblance between a time series and a lagged version of another time series is measured using cross-correlation. In another way, it can tell us whether...

## How to Calculate Cosine Similarity in R

How to Calculate Cosine Similarity in R, The measure of similarity between two vectors in an inner product space is cosine similarity. The formula for two vectors, like A and B and the Cosine...

## How to Create Pareto Chart in R

Pareto Chart in R, Pareto chart is a combination of a line graph and a bar chart used for visualization. A Pareto graph is a type of chart that displays the frequencies of the different categories with the cumulated frequencies of the categories. How to create...

## How to Calculate Mean Absolute Percentage Error (MAPE) in R

How to Calculate MAPE in R, when want to measure the forecasting accuracy of a model the solution is MAPE. MAPE stands for mean absolute percentage error. The mathematical formula to calculate MAPE is:...

## How to Calculate SMAPE in R

How to Calculate SMAPE in R?, SMAPE indicates the symmetric mean absolute percentage error.SMAPE is mainly used to measure the predictive accuracy of models. Mathematical formula is SMAPE = (1/n) * Σ(|forecast – actual|...

## How to Calculate Mean Absolute Error in R

Mean Absolute Error in R, when we do modeling always need to measure the accuracy of the model fit. The mean absolute error (MAE) allows us to measure the accuracy of a given model....

## How to Measure Heteroscedasticity in Regression?

Heteroscedasticity in Regression, one of the easiest ways to measure heteroscedasticity is while using the Breusch-Pagan Test. The test is mainly used to identify if heteroscedasticity is present in a regression analysis. This tutorial...