November 2018

Le Monde puzzle [#1078]

November 28, 2018 | xi'an

Recalling Le Monde mathematical puzzle  first competition problem Given yay/nay answers to the three following questions about the integer 13≤n≤1300 (i) is the integer n less than 500? (ii) is n a perfect square? (iii) is n a perfect cube?  n cannot be determined, but it is certain that any ...
[Read more...]

R now supported in Azure SQL Database

November 28, 2018 | David Smith

Azure SQL Database, the database-as-a-service based on Microsoft SQL Server, now offers R integration. (The service is currently in preview; details on how to sign up for the preview are provided in that link.) While you've been able to run R in SQL Server in the cloud since the release ... [Read more...]

Marginal Effects for (mixed effects) regression models #rstats

November 28, 2018 | Daniel

ggeffects (CRAN, website) is a package that computes marginal effects at the mean (MEMs) or representative values (MERs) for many different models, including mixed effects or Bayesian models. One of the advantages of the package is its easy-to-use interface: No matter if you fit a simple or complex model, with ...
[Read more...]

NYC buses: company level predictors with R

November 28, 2018 | Nils Ross

CategoriesBasic Statistics Tags Data Management R Programming We are following on from our previously loaded data of NYC bus delays, and from our simple Cubist regression fit. We know that we need to add in more predictors, and we have access to company level data. A warning to the faint-hearted: ... [Read more...]

RcppArmadillo 0.9.200.5.0

November 28, 2018 | Thinking inside the box

A new RcppArmadillo release arrived at CRAN overnight. The version 0.9.200.5.0 is a minor upgrade and based on the new Armadillo bugfix release 9.200.5 from yesterday. I also just uploaded the Debian version. Armadillo is a powerful and expressive C... [Read more...]

The new pqR parser, and R’s “else” problem

November 27, 2018 | Radford Neal

The latest version of pqR (mostly) solves R’s “else” problem, by modifying the new parser previously introduced in pqR.  I’ll explain the “else” problem and solution here, and also present other advantages of pqR’s parser over the R Core parser, including a big speed advantage in one ...
[Read more...]

Horses for courses, or to each model its own (causal effect)

November 27, 2018 | Keith Goldfeld

In my previous post, I described a (relatively) simple way to simulate observational data in order to compare different methods to estimate the causal effect of some exposure or treatment on an outcome. The underlying data generating process (DGP) included a possibly unmeasured confounder and an instrumental variable. (If you ...
[Read more...]

Visualization of NYC bus delays with R

November 27, 2018 | Nils Ross

CategoriesAdvanced Modeling Tags Data Manipulation Data Visualisation ggplot2 R Programming The motivation for choosing this data set to explore is straightforward: I wanted a real-world data set for which additional meta data would be easy to find, making NYC data perfect; I wanted something which did not require specialised domain ...
[Read more...]

styler 1.1.0

November 27, 2018 | Lorenz Walthert

styler 1.1.0 is now available on CRAN. This release introduces new features and is fully backward-compatible. It also adapts to changes in the R parser committed into R devel (#419). Major changes are: styler can now style roxygen code examples in the source code of package. This might be helpful for package ... [Read more...]

styler 1.1.0

November 27, 2018 | Lorenz Walthert

styler 1.1.0 is now available on CRAN. This release introduces new features and is fully backward-compatible. It also adapts to changes in the R parser committed into R devel (#419). Major changes are: styler can now style roxygen code examples in the source code of package. This might be helpful for package ... [Read more...]

Quick Guide: R & SQLite

November 26, 2018 | Rsquared Academy Blog

Introduction This is the first post in the series R & Databases. You can find the links to the other two posts of this series below: Data Wrangling with dbplyr SQL for Data Science - Part 1 SQL for Data Science - Part 2 In this post, we will learn to: connect to ... [Read more...]

LSTM with Keras & TensorFlow

November 26, 2018 | R on Coding Club UC3M

The aim of this tutorial is to show the use of TensorFlow with KERAS for classification and prediction in Time Series Analysis. The latter just implement a Long Short Term Memory (LSTM) model (an instance of a Recurrent Neural Network which avoids the vanishing gradient problem). Introduction The code below ...
[Read more...]
1 2 3 4 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)