January 2018

add abbreviations to your rmarkdown doc

January 23, 2018 | Roel M. Hogervorst

Today a small tip for when you write rmarkdown documents. Add a chunk on top with abbreviations. in the first chunks you set the options and load the packages. Next create abbreviations, you don’t have to care about the ordering, just put them down as you realize you are ... [Read more...]

SOMs and ggplot

January 23, 2018 | schochastics

#used packages
library(tidyverse)  # for data wrangling
library(stringr)    # for string manipulations
library(kohonen)    # implements self organizing maps
library(ggforce)    # for additional ggplot features
I introduced self-organizing maps (SOM) in a previous post and since then I am using the kohonen package on a daily basis. However, I prefer the ggplot style plotting, so I reimplemented the SOM plots of the package with the ggplot2 package. But don’t get me wrong, the ... [Read more...]

???? Multinomial regression in R

January 23, 2018 | Iegor Rudnytskyi

In my current project on Long-term care at some point we were required to use a regression model with multinomial responses. I was very surprised that in contrast to well-covered binomial GLM for binary response case, multinomial case is poorly described. Surely, there are half-dozen packages overlapping each other, however, ... [Read more...]

StanCon 2018 Highlights

January 23, 2018 | R on The Jumping Rivers Blog

Highlights from StanCon 2018 This year we had the privelage of sponsoring StanCon. Unfortunately, we weren’t able to actually attend the conference. Rather than let our ticket go to waste, we ran a small competition, which Ignacio Martinez won with his very cool (but in alpha stage) R package - ... [Read more...]

Analyzing rtweet data with kerasformula

January 23, 2018 | Pete Mohanty

This is guest post contributed by Pete Mohanty, creator of the kerasformula package. Overview The kerasformula package offers a high-level interface for the R interface to Keras. It’s main interface is the kms function, a regression-style...
[Read more...]

StanCon 2018 Highlights

January 23, 2018 | R on The Jumping Rivers Blog

Highlights from StanCon 2018 This year we had the privelage of sponsoring StanCon. Unfortunately, we weren’t able to actually attend the conference. Rather than let our ticket go to waste, we ran a small competition, which Ignacio Martinez won ... [Read more...]

Le Monde puzzle [#1037]

January 23, 2018 | xi'an

A purely geometric Le Monde mathematical puzzle this (or two independent ones, rather): Find whether or not there are inscribed and circumscribed circles to a convex polygon with 2018 sides of lengths ranging 1,2,…,2018. In the first (or rather second) case, the circle of radius R that is tangential to the polygon ...
[Read more...]

Visualize your Strava routes with R

January 23, 2018 | David Smith

Strava is a fitness app that records you activities, including the routes of your walks, rides and runs. The service also provides an API that allows you to extract all of your data for analysis. University of Melbourne research fellow Marcus Volz created an R package to download and visualize ... [Read more...]

The progress bar just got a lot cheaper

January 23, 2018 | Peter Solymos

The pbapply R package that adds progress bar to vectorized functions has been know to accumulate overhead when calling parallel::mclapply with forking (see this post for more background on the issue). Strangely enough, a GitHub issue held the key to the solution that I am going to outline below. ... [Read more...]

Get insights of Instacart Market Basket

January 22, 2018 | Hsiang-Yuan(Joshua) Lee

Introduction Services that deliver the ingredients and recipes you need to make fresh, home-cooked meals, like Instacart have grown in popularity as people are turning away from low-cost, fast food in favor of healthier alternatives. However, those subscription services are still luxury for many so I decided to create a ...
[Read more...]

GDELT, Missiles, and Image Collection

January 22, 2018 | R Bloggers on syknapptic

The Global Database of Events, Language, and Tone, or GDELT, is “a realtime network diagram and database of global human society for open research”. The potential for a firehose stream of global data has tantalizing possibilities for research, but concrete examples of work beyond simple evaluations of the database’s ...
[Read more...]

Understanding Naïve Bayes Classifier Using R

January 22, 2018 | Perceptive Analytics

The Best Algorithms are the Simplest The field of data science has progressed from simple linear regression models to complex ensembling techniques but the most preferred models are still the simplest and most interpretable. Among them are regression, logistic, trees and naive bayes techniques. Naive Bayes algorithm, in particular is ... [Read more...]

Automating Basic EDA

January 22, 2018 | Anup Nair

In any model development exercise, a considerable amount of time is spent in understanding the underlying data, visualizing relationships and validating preliminary hypothesis (broadly categorized as Exploratory data Analysis). A key element of EDA involves visually analyzing the data to glean valuable insights and understand underlying relationships & patterns in the ...
[Read more...]
1 4 5 6 7 8 17

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)