Publications by Statistics & R

Covid-19 Shinyapp

24.12.2020

The data displayed by this {shinyapp} is taken from Johns Hopkins University Center for Systems Science and Engineering (JHU CCSE). The raw data is available on {Github}. The data is updated on daily basis. Packages needed for the app: library(easypackages) # install.packages("easypackages") libraries("lubridate", "tidyverse", "readr", "plotly") ...

714 sym R (2541 sym/3 pcs) 4 img

Comparing means of two independent groups

25.12.2020

This shinyapp helps researchers/students to decide on the type of test to be done when having 2 groups. Sometimes it is possible to forget a certain assumption. For this reason this app helps in providing more confidence for choosing the right test. Related To leave a comment for the author, please follow the link and comment on their blog: St...

646 sym

Installing older version of a package

04.01.2021

In many situations when you install a new package, R will ask you whether you want to update to the updated versions of existing packages in your library. However, the main problem is sometimes in the updated version, a certain function might have been completely removed and thus could mess up your pre-existing code in use. In this post, I will s...

1922 sym R (106 sym/2 pcs)

Chi-square tests

09.01.2021

Chi-square test is a statistical method used for analysis of categorical data. There are 2 types: 1. Goodness of fit Known as: * Chi-square for 1 sample * Chi-square for given proportions Purpose : Comparing the observed frequency to the expected frequency based on a theoretical law specified in the null hypothesis. 2. Goodness of associati...

3481 sym R (973 sym/8 pcs)

Covid-19 Vaccination Race

14.01.2021

It took Scientists ~ 10 months to come up with the vaccine against Covid-19. Now its up to governments and people’s awareness to help eradicate the virus. For this reason this shinyapp helps monitor the vaccination status of the countries that have initiated vaccinations. Don’t be those people! Related To leave a comment for the author, pl...

693 sym 2 img

Shinyapp to monitor Covid-19 cases, deaths, recoveries and vaccinations

30.01.2021

The data pertaining to cases, deaths and recoveries is pooled from Johns Hopkins University Center for Systems Science and Engineering (JHU CCSE). Vaccination data is pooled from Our world in data. Both sources update the data sets on a daily basis and the app pools data automatically. Below are a few screenshots taken from the shinyapp. The app ...

770 sym 14 img

Dropping levels in a factor variable

03.03.2021

Assume you have a data frame (df) for patients taking a specific drug. The data consists of a factor variable (Drug) and a numeric variable (N_patients). Drugs N_patients Drug 1 50 Drug 2 40 Drug 3 23 Drug 4 92 Drug 5 70 Later on you filter the data frame for specific levels in the factor variable and saved it in a new data frame cal...

2179 sym R (670 sym/7 pcs) 1 tbl