January 2019

An introduction to Stan with R

January 21, 2019 | R on Coding Club UC3M

Stan is a probabilistic programming language for specifying statistical models. Stan provides full Bayesian inference for continuous-variable models through Markov Chain Monte Carlo methods such as the No-U-Turn sampler, an adaptive form of Hamiltonian Monte Carlo sampling. Penalized maximum likelihood estimates are calculated using optimization methods such as the limited ...
[Read more...]

The Shiny Module Design Pattern

January 21, 2019 | William Doane

Foremost in your mind should be the quintessential reality of R: Everything that happens in R is the result of a function call. Shiny is no exception. To write a minimal shiny app, you create an object that describes your app’s user interface, write a function describing runtime behaviors, ... [Read more...]

Chaining effect in clustering

January 21, 2019 | Stanislas Morbieu

In a previous blog post, I explained how we can leverage the k-means clustering algorithm to count the number of red baubles on a Christmas tree. This method fails however if we put Christmas tinsels on it. Let’s find a solution for this more difficult case. Filter red points ...
[Read more...]

A shiny Web App from LEGO— truck + trailer

January 21, 2019 | Sebastian Wolf

How to Build a Shiny “Truck” part 2 — Let the LEGO “truck” app pull a trailer. An example of a modularized shiny app. In September 2018 I used an automotive metaphor explaining a large scale R shiny app. RViews published the article. I would summarize the article in one phrase. Upon building ...
[Read more...]

A shiny Web App from LEGO— truck + trailer

January 21, 2019 | Sebastian Wolf

How to Build a Shiny “Truck” part 2 — Let the LEGO “truck” app pull a trailer. An example of a modularized shiny app. In September 2018 I used an automotive metaphor explaining a large scale R shiny app. RViews published the article. I would summarize the article in one phrase. Upon building ...
[Read more...]

RServe: Getting Started

January 20, 2019 | R on datawookie

Rserve is a server which allows other programs to use the facilities of R via TCP/IP. Installing Since Rserve gets installed to system folders, you need to do the install as the root user. # Become root. $ sudo su # Run R as root. $ R __ install.packages("Rserve") Running To launch ... [Read more...]

Docker Images for R: r-base versus r-apt

January 20, 2019 | R on datawookie

I need to deploy a Plumber API in a Docker container. The API has some R package dependencies which need to be baked into the Docker image. There are a few options for the base image: r-base tidyverse or r-apt. The first option, r-base, would require building the dependencies from ... [Read more...]

Spatial lag model trees

January 20, 2019 | Achim Zeileis

Economic growth models are recursively partitioned to assess heterogeneity in growth and convergence across EU regions while adjusting for spatial dependencies. Accompanied by R package lagsarlmtree, combining partykit::mob and spdep::lagsarl...
[Read more...]

Intrinsic time for cryptocurrency data

January 20, 2019 | Karsten W.

This week, I attended a three-day hacking event of the Crypto Traders Berlin Meetup group. The aim was to find relationships between sentiment data of bitcointalk and twitter and the price of crypto currencies. In practise, it turns out to be not that...
[Read more...]

Short note about tidyeval

January 20, 2019 | R on Adi Sarid's personal blog

Following Jenny Bryan’s talk on tidyeval in the last rstudio::conf 2019, I decided to write this short note (mainly as a reminder to myself). What is tidyeval? Tidy evaluation, or non standard evaluation, allows us to pass column names between functions. This is the “classic” behaviour of most tidyverse ... [Read more...]
1 3 4 5 6 7 15

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)