October 2019

Selecting columns based on type

October 31, 2019 | 0 Comments

[This article was first published on R on Abhijit Dasgupta, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share [Read more...]

Selecting columns based on type

October 31, 2019 | 0 Comments

The tidyverse and, in particular, dplyr, provides functions to select columns from a data frame. There are three scoped functions available: select_all, select_if and select_at. In this post, we’ll look at a particular application of select_if, i.e., capturing the names of numeric variables. A ...
[Read more...]

Geographic distance

October 31, 2019 | 0 Comments

The first post of this year 2020, I will dedicate to a question that I was recently asked. The question was how to calculate the shortest distance between different points and how to know which is the closest point. When we work with spatial data in R, currently the easiest thing ...
[Read more...]

Visualize urban growth

October 31, 2019 | 0 Comments

The General Directorate for the Cadastre of Spain has spatial information of the all buildings except for the Basque Country and Navarra. This data set is part of the implementation of INSPIRE, the Space Information Infrastructure in Europe. More information can be found here. We will use the links (urls) ...
[Read more...]

New package: simfinR

October 31, 2019 | 0 Comments

Introduction In my latest post I wrote about package GetEdgarData, which downloaded structured data from the SEC. I’ve been working on this project and soon realized that the available data at the SEC/DERA section is not complete. For example, all Q4 statements are missing. This seems to be ... [Read more...]

Working with Statistics Canada Data in R, Introduction

October 31, 2019 | 0 Comments

Forward to Working with Statistics Canada Data in R, Part 1. This is the Introduction to the series on working with Statistics Canada data in the R language. The goal of the series is to provide some examples (accompanied by detailed in-depth explanations) of working with Statistics Canada data in R. ... [Read more...]

Gold-Mining Week 9 (2019)

October 30, 2019 | 0 Comments

Week 9 Gold Mining and Fantasy Football Projection Roundup now available. The post Gold-Mining Week 9 (2019) appeared first on Fantasy Football Analytics. [Read more...]

Offensive Programming in action (part III)

October 30, 2019 | 0 Comments

This is the third post on offensive programming, dedicated to using offensive programming (OP). You may refer to easy introduction to offensive programming to acquire some basic knowledge about offensive programming, and to discover offensive progra...
[Read more...]

A brief primer on Variational Inference

October 30, 2019 | 0 Comments

Bayesian inference using Markov chain Monte Carlo methods can be notoriously slow. In this blog post, we reframe Bayesian inference as an optimization problem using variational inference, markedly speeding up computation. We derive the variational objective function, implement coordinate ascent mean-field variational inference for a simple linear regression example in ...
[Read more...]

The Mysterious Case of the Ghost Interaction

October 29, 2019 | 0 Comments

This spooky post was written in collaboration with Yoav Kessler (@yoav_kessler) and Naama Yavor (@namivor).. Experimental psychology is moving away from repeated-measures-ANOVAs, and towards linear mixed models (LMM1). LMMs have many advantages over rmANOVA, including (but not limited to): Analysis of single trial data (as opposed to aggregated means ...
[Read more...]

Enlarging the eBook supply

October 29, 2019 | 0 Comments

There has been a campaign by members of the Canadian library community to ask international publishers to reduce prices to libraries for eBooks.  If my experience in the scientific publishing arena is any guide, the publishers will continue to charge the maximum they can get until the marketplace — that is ... [Read more...]

What’s new in DALEX v 0.4.9?

October 29, 2019 | 0 Comments

Few days ago a new version of DALEX was accepted by CRAN (v 0.4.9). Here you will find short overview what was added/changed. DALEX is an R package with methods for visual explanation and exploration of predictive models.Here you will find short overview with examples based on Titanic data. ... [Read more...]

Extracting basic Plots from Novels: Dracula is a Man in a Hole

October 29, 2019 | 0 Comments

In 1965 the University of Chicago rejected Kurt Vonnegut’s college thesis, which claimed that all stories shared common structures, or “shapes”, including “Man in a Hole”, “Boy gets Girl” and “Cinderella”. Many years later the then already legendary Vonnegut gave a hilarious lecture on this idea – before continuing to read ... [Read more...]

Confounders and Colliders – Modeling Spurious Correlations in R

October 28, 2019 | 0 Comments

Like many engineers, my first models were based on Designed Experiments in the tradition of Cox and Montgomery. I hadn’t seen anything like a causal diagram until I picked the The Book of Why which explores all sorts of experimental relationships and structures I never imagined.1 Colliders, confounders, causal ...
[Read more...]

An Amazon SDK for R!?

October 28, 2019 | 0 Comments

RBloggers|RBloggers-feedburner Intro: For a long time I have found it difficult to appreciate the benefits of “cloud compute” in my R model builds. This was due to my initial lack of understanding and the setting up of R on cloud compute environments. When I noticed that AWS was bringing ... [Read more...]

Sept 2019: “Top 40” New R Packages

October 28, 2019 | 0 Comments

One hundred and thirteen new packages made it to CRAN in September. Here are my “Top 40” picks in eight categories: Computational Methods, Data, Economics, Machine Learning, Statistics, Time Series, Utilities, and Visualization. Computational Methods eRTG3D v0.6.2: Provides functions to create realistic random trajectories in a 3-D space between two ...
[Read more...]
1 2 3 11

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)