Articles by R | databentobox

Securing and monitoring ShinyProxy deployment of R Shiny apps

May 3, 2020 | 0 Comments

Table of Contents Introduction Prerequisites Step 1: Setting up Docker Step 2: Building the demo Shiny app and containerised ShinyProxy Docker images Step 3: Launching AWS EC2 instances Step 4: Setting up a domain name (Optional) Step 5: Setting up AWS Cognito (Optional) Setting up HTTPS (SSL / TLS) Step 1: Preparing configuration files Step 2: Setting up ...
[Read more...]

Simulating Coronavirus Outbreak in City with Origin-Destination Matrix and SEIR Model

March 28, 2020 | 0 Comments

Table of Contents Introduction Model SEIR Model Population Mobility Model Model Assumptions Data Simulation Visualisation Scenario-based Simulations Introduction A couple weeks ago, I have written an article about simulating coronavirus outbreak in Tokyo using Origin-Destination (OD) matrix, population mesh data and a simple SIR model with some assumptions. I shared ...
[Read more...]

Deploying R Shiny apps using ShinyProxy on Windows 10

November 5, 2019 | 0 Comments

Background R Shiny is a powerful tool for building data products, from data visualisations to predictive models. Built by RStudio, this package is highly integrated with the RStudio IDE, making it the primary choice for production. Although it is relatively easy to build a Shiny app and make it run ...
[Read more...]

Deploying R Shiny apps using ShinyProxy on Windows 10

November 5, 2019 | 0 Comments

Background R Shiny is a powerful tool for building data products, from data visualisations to predictive models. Built by RStudio, this package is highly integrated with the RStudio IDE, making it the primary choice for production. Although it is relatively easy to build a Shiny app and make it run ...
[Read more...]

Dplyr functions with string

November 1, 2019 | 0 Comments

Let’s say we have a simple data frame as below and we want to select the female rows only. df % filter(., gender == "female") ## id gender ## 1 2 female ## 2 4 female ## 3 5 female The filter() function in dplyr (and other similar functions from the package) use something called non-standard evaluation (NSE). In NSE, names ... [Read more...]

Dplyr functions with string

November 1, 2019 | 0 Comments

Let’s say we have a simple data frame as below and we want to select the female rows only. df % filter(., gender == "female") ## id gender ## 1 2 female ## 2 4 female ## 3 5 female The filter() function in dplyr (and other similar functions from the package) use something called non-standard evaluation (NSE). In NSE, names ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)