Category: R

How to Perform Dunnett’s Test in R

Dunnett’s test in R, After the ANOVA test has been completed the next step is to determine which group means are significantly different from one another. Different types of post hoc tests are available...

How to Remove Duplicates in R with Example

How to Remove Duplicates in R, when we are dealing with data frames one of the common tasks is the removal of duplicate rows in R. This can handle while using different functions in...

Calculate Geometric Mean in R

Calculate Geometric Mean in R, Geometric mean is the nth root of the product of n values of a set of observations. Geometric can be expressed as GM=(x1, x2, x3, ……, xn)1/n The advantage...

Plot Differences in Two Measurements-Bland-Altman Plot in R

Plot Differences in Measurements, the discrepancies in measurements between two different instruments or measurement methodologies are visualized using a Bland-Altman plot. It can be used to compare the accuracy of two instruments or approaches...

Log Rank Test in R-Survival Curve Comparison

Log Rank Test in R, the most frequent technique to compare survival curves between two groups is to use a log-rank test. Test hypotheses: Ho: In terms of survivability, there is no difference between...

Goodness of Fit Test- Jarque-Bera Test in R

Goodness of fit test, The Jarque-Bera test is a goodness-of-fit test that measures if sample data has skewness and kurtosis that are similar to a normal distribution. The Jarque-Bera test statistic is always positive,...

How to Plot Categorical Data in R-Quick Guide

Plot Categorical Data in R, Categorical variables are data types that can be separated into categories. Race, sex, age group, and educational level are examples of categorical variables. This tutorial describes three approaches to...

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...