Monthly Archives: October 2019

GRNN vs. GAM

October 26, 2019
By
GRNN vs. GAM

In practice, GRNN is very similar to GAM (Generalized Additive Models) in the sense that they both shared the flexibility of approximating non-linear functions. In the example below, both GRNN and GAM were applied to the Kyphosis data that has been widely experimented in examples of GAM and revealed very similar patterns of functional relationships

Read more »

The Hitchhiker’s Guide to Plotnine

October 26, 2019
By

About the book Jodie Burchell and yours truly have published a book, The Hitchhiker’s Guide to Plotnine, on graphing in Python using plotnine, a comprehensive port of ggplot2. This book will help you easily build beautiful plots. If you’d like to ...

Read more »

Accupedo vs. Fitbit Part 1: Convergent Validity of Hourly Step Counts with R

October 26, 2019
By
Accupedo vs. Fitbit Part 1: Convergent Validity of Hourly Step Counts with R

In this post, we will investigate the relationship between hourly step count data from two different sources: the Accupedo app on my phone, the Fitbit I wear on my wrist. We will use several visualization and analytical techniques to understand the correspondence (or lack thereof) between the two measurements. Do these devices give similar readings of hourly step counts?...

Read more »

Building a Shiny App for Cycling in Ottawa

October 26, 2019
By
Building a Shiny App for Cycling in Ottawa

This is a different kind of post, but one that I think is kind of fun. I currently live in Ottawa, which for those who don’t know, is the capital city of Canada. For a capital city, it’s fairly small, but it’s increasingly urbanizing (we just got lightrail transit). Segregated bicycle lanes and paths are becoming more common too...

Read more »

A duck. Giving a look at DuckDB since MonetDBLite was removed from CRAN

October 26, 2019
By
A duck. Giving a look at DuckDB since MonetDBLite was removed from CRAN

You may know that MonetDBLite was removed from CRAN.DuckDB comming up. Breaking change __ install.packages('MonetDBLite') Warning in install.packages : package ‘MonetDBLite’ is not available (for R version 3.6.1)People who based their works on MonetDBLite may ask what happened, what to do. Not to play a risky game with database and tools choices for future works… (“It’s really fast but we may...

Read more »

RAthena 1.3.0 has arrived

October 25, 2019
By

RBloggers|RBloggers-feedburner Recap: RAthena is a R package that interfaces into Amazon Athena. However, it doesn’t use the standard ODBC and JDBC drivers like AWR.Athena and metis. Instead RAthena utilises Python’s SDK (software development kit) into Amazon, Boto3. It does this by using the reticulate package that provides an interface into Python. What this means is that RAthena doesn’t require any driver...

Read more »

A Comprehensive Introduction to Command Line for R Users

October 25, 2019
By
A Comprehensive Introduction to Command Line for R Users

In this tutorial, you will be introduced to the command line. We have selected a set of commands we think will be useful in general to a wide range of audience. We have created a RStudio Cloud Project to ensure that all readers are using the same environment while going through the tutorial. Our goal was to ensure that after...

Read more »

Pivoting tidily

October 25, 2019
By
Pivoting tidily

One of the fun bits of my job is that I have actual time dedicated to helping colleagues and grad students with statistical or computational problems. Recently I’ve been helping one of our Lab Instructors with some data that from their Plant Physiology Lab course. Whilst I was writing some R code to import the raw data for the...

Read more »

dang 0.0.11: Small improvements

October 24, 2019
By

A new release of what may be my most minor package, dang, is now on CRAN. The dang package regroups a few functions of mine that had no other home as for example lsos() from a StackOverflow question from 2009 (!!) is one, this overbought/oversold pri...

Read more »

The politics of New Mexico: a brief historical-visual account

October 23, 2019
By
The politics of New Mexico: a brief historical-visual account

New Mexico demographics via tidycensus 2016 Presidential Election Presidential elections in New Mexico historically New Mexico as bellwether? Congressional delegation historically New Mexico State Government Summary In this post, we piece together a brief political history of New Mexico using a host of data sources, including Wikipedia, the US Census, the New Mexico State Legislature (NMSL), VoteView, and the National Conference of State Legislatures. A bit...

Read more »

Search R-bloggers

Sponsors

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)