Publications by R on Stats and R
One-proportion and goodness of fit test (in R and by hand)
Introduction In R Data One-proportion test Assumption of prop.test() and binom.test() Chi-square goodness of fit test Does my distribution follow a given distribution? Observed frequencies Expected frequencies Observed vs. expected frequencies By hand One-proportion test Verification in R Goodness of fit test Verification in R Introduction I...
15312 sym R (6203 sym/19 pcs) 24 img
COVID-19 in Belgium: is it over yet?
Introduction New hospital admissions Overall By period Zooming in Patients in hospitals Patients in intensive care Confirmed cases By province By age group and sex Static Dynamic By age group, sex and province Introduction Note 1: The present article has been written on May 22, 2020 and has been updated infrequently. The current situation rega...
7063 sym 32 img
COVID-19 in Belgium: is it over yet?
Introduction New hospital admissions New confirmed cases Introduction This is a joint work with Prof. Niko Speybroeck and Angel Rosas-Aguirre. Belgium recently started to lift its lockdown measures initially imposed to contain the spread of the Covid-19. Following this decision taken by Belgian authorities, we analyze how the situation evolved s...
2228 sym 4 img
How to upload your R code on GitHub: example with an R script on MacOS
Introduction Prerequisite Step-by-step guide Additional notes Introduction Few days ago, a colleague asked me how to upload some R code on GitHub in order to make it accessible to everyone. Due to the lockdown, I could not just go into his office and show him on his computer. So I sent him several screenshots showing, step by step, how to do so....
4313 sym 36 img
How to upload your R code on GitHub: example with an R script on MacOS
Introduction Prerequisite Step-by-step guide Additional notes Introduction Few days ago, a colleague asked me how to upload some R code on GitHub in order to make it accessible to everyone. Due to the lockdown, I could not just go into his office and show him on his computer. So I sent him several screenshots showing, step by step, how to do so....
4392 sym 36 img
Correlation coefficient and correlation test in R
Introduction Data Correlation coefficient Between two variables Correlation matrix: correlations for all variables Interpretation of a correlation coefficient Visualizations A scatterplot for 2 variables Scatterplots for several pairs of variables Another simple correlation matrix Correlation test For 2 variables For several pairs of variables ...
9613 sym R (8580 sym/13 pcs) 12 img
Correlation coefficient and correlation test in R
Introduction Data Correlation coefficient Between two variables Correlation matrix: correlations for all variables Interpretation of a correlation coefficient Visualizations A scatterplot for 2 variables Scatterplots for several pairs of variables Another simple correlation matrix Correlation test For 2 variables For several pairs of variables ...
9065 sym R (4987 sym/12 pcs) 12 img
How to publish a Shiny app: example with shinyapps.io
Introduction Prerequisite Step-by-step guide Additional notes Introduction The COVID-19 virus led many people to create interactive apps and dashboards. A reader recently asked me how to publish a Shiny app she just created. Similarly to a previous article where I show how to upload R code on GitHub, I thought it would be useful to some people t...
4477 sym 46 img
How to publish a Shiny app: example with shinyapps.io
Introduction Prerequisite Step-by-step guide Additional notes Introduction The COVID-19 virus led many people to create interactive apps and dashboards. A reader recently asked me how to publish a Shiny app she just created. Similarly to a previous article where I show how to upload R code on GitHub, I thought it would be useful to some people t...
4556 sym 46 img
Wilcoxon test in R: how to compare 2 groups under the non-normality assumption
Introduction 2 different scenarios Independent samples Paired samples Introduction In a previous article, we showed how to compare two groups under different scenarios using the Student’s t-test. The Student’s t-test requires that the distributions follow a normal distribution.1 In this article, we show how to compare two groups when the nor...
6930 sym R (3149 sym/11 pcs) 10 img