Posts

Dengue incidence cases in Sri Lanka from 2010 to 2017

Dengue incidence cases in Sri Lanka from 2010 to 2017

The monthly dengue incidence data for each administrative district presented in the website of the Epidemiology Unit, Ministry of Health, Sri Lanka are used for the analysis. Administrative units of Sri Lanka Sri Lanka is divided into 9 provinces as the first layer of administrative units. The 9 provinces are Central Province(CP), Eastern Province(EP), North Central Province(NC), Northern Province(NP), North Western Province(NW), Sabaragamuwa Province(SG), Southern Province(SP), Uva Province(UP) and Western Province(WP).

Principal Component Analysis

In some statistical techniques, it is essential to convert a set of correlated variables to a set of uncorrelated variables. This can be done by using Principal Component Analysis (PCA). The converted uncorrelated variables are called principal components that represent most of the information in the original set of variables. This statistical technique is also a useful descriptive tool to examine your data, and to reduce the number of variables of the original data set.

Learn R Markdown Basics

We can have R codes, results and interpretation of results in one document by using R Notebook for the data analysis. R Notebook is an R Markdown document that can be executed independently and interactively, and it interacts with R directly while producing a reproducible document with publication-quality output.Therefore, at least a basic knowledge in R Markdown is needed to use R Markdown and R Notebook. Some basic concepts required are given below, and you can learn more by using the lessons given in RStudio website https://rmarkdown.
Creating a website using Rblogdown

Creating a website using Rblogdown

I have used R blogdown package to setup this static website. Thanks to Yihui Xie, Amber Thomas, and Alison Presmanes Hill for their hard work. First, I have started reading their E book to understand the basics. Then, I have setup a simple website by using the default theme (hugo-lithium) as suggested by the authors. Next, I have changed the theme to hugo-academic. However, for this website I have used the Mainroad theme.