Gibbs sampling with incompatible conditionals

July 22, 2019
By
Gibbs sampling with incompatible conditionals

An interesting question (with no clear motivation) on X validated wondering why a Gibbs sampler produces NAs… Interesting because multi-layered: The attached R code indeed produces NAs because it calls the Negative Binomial Neg(x¹,p) random generator with a zero success parameter, x¹=0, which automatically returns NAs. This can be escaped by returning a one (1)

Read more »

Faster Gridding in R

July 22, 2019
By
Faster Gridding in R

So all oceanographers are familiar with the results of gridding, even if they are not so familiar with the process. Gridding is, in general, any method that will take...

Read more »

useR!2019 Quizz: Test your knowledge of base R and ThinkR

July 22, 2019
By
useR!2019 Quizz: Test your knowledge of base R and ThinkR

At useR!2019 in Toulouse, ThinkR opened a quizz allowing to win a pipe knight. About a hundred of respondents won this Playmobil. In this blog post, we review the...

Read more »

Take your RStudio Hotkeys Online with a Text Expander

July 22, 2019
By
Take your RStudio Hotkeys Online with a Text Expander

As a blogger and curriculum developer, I am often writing about R from a text editor instead of RStudio. I feared that working outside RStudio meant saying goodbye to...

Read more »

Customer Segmentation using RFM Analysis

July 21, 2019
By
Customer Segmentation using RFM Analysis

Introduction In a previous post, we had introduced our R package rfm but did not go into the conceptual details of RFM analysis. In this post, we will explore RFM in much more...

Read more »

Many similar models – Part 2: Automate model fitting with purrr::map() loops

Many similar models – Part 2: Automate model fitting with purrr::map() loops

When we have many similar models to fit, automating at least some portions of the task can be a real time saver. In my last post I demonstrated how...

Read more »

Excel Report Generation with Shiny

July 21, 2019
By
Excel Report Generation with Shiny

R is great for report generation. Shiny allows us to easily create web apps that generate a variety of reports with R. This post details a demo Shiny app that...

Read more »

Improve GRNN by Weighting

July 21, 2019
By

In the post (https://statcompute.wordpress.com/2019/07/14/yet-another-r-package-for-general-regression-neural-network), several advantages of General Regression Neural Network (GRNN) have been discussed. However, as pointed out by Specht, a major weakness of GRNN is the high...

Read more »

Reversi in R – Part 1: Bare Bones

July 21, 2019
By
Reversi in R – Part 1: Bare Bones

In this post, I showcase a bare-bones point-and-click implementation of the classic board Reversi (also called Othello*) in the R programming language. R is typically used for more...

Read more »

RPushbullet 0.3.2

July 21, 2019
By
RPushbullet 0.3.2

A new release 0.3.2 of the RPushbullet package is now on CRAN. RPushbullet is interfacing the neat Pushbullet service for inter-device messaging, communication, and more. It lets you...

Read more »

Big News: Porting vtreat to Python

July 20, 2019
By

We at Win-Vector LLC have some big news. We are finally porting a streamlined version of our R vtreat variable preparation package to Python. vtreat is a great system...

Read more »

Program Evaluation: Difference-in-differences in R

July 20, 2019
By
Program Evaluation: Difference-in-differences in R

Are you interested in guest posting? Publish at DataScience+ via your editor (i.e., RStudio). Category Advanced Modeling Tags Linear Regression Logistic Regression R Programming Regression analysis is one of the most demanding machine learning methods...

Read more »

My useR! 2019 Highlights & Experience: Shiny, R Community, {packages}, and more!

July 20, 2019
By
My useR! 2019 Highlights & Experience: Shiny, R Community, {packages}, and more!

The useR! Conference was held in Toulouse, France and...

Read more »

GEDCOM Reader for the R Language: Analysing Family History

July 20, 2019
By
GEDCOM Reader for the R Language: Analysing Family History

Understanding who you are is strongly related to understanding your family history. Discovering ancestors is now a popular hobby, as many archives are available on the internet. The GEDCOM...

Read more »

Impressions from useR! 2019

July 20, 2019
By
Impressions from useR! 2019

This year, the greater R community gathering useR! took place in sunny Toulouse in July, bringing together over 1000 practitioners from both academia and industry. The event spanned over five...

Read more »

Generating a Gallery of Visualizations for a Static Website (using R)

July 19, 2019
By

While I was browsing the website of fellow R blogger Ryo Nakagawara1, I was intrigued by his “Visualizations” page. The concept of creating an online “portfolio” is not novel 2, but I...

Read more »

Adding Syntax Highlight

July 19, 2019
By

Syntax highlighting Previously, I posted entries without any syntax highlighting as I was satisfied using basic blogdown and Hugo functions until a Disqus member commented in the previous post to...

Read more »

Germination data and time-to-event methods: comparing germination curves

Germination data and time-to-event methods: comparing germination curves

Very often, seed scientists need to compare the germination behaviour of different seed populations, e.g., different plant species, or one single plant species submitted to different temperatures, light conditions,...

Read more »

Analysis of a Flash Flood

July 19, 2019
By
Analysis of a Flash Flood

Flash floods seem to be increasing in many areas. This post will show how to download local USGS flow and precipitation data and generate a 3-panel chart of flow,...

Read more »

Watch keynote presentations from the useR!2019 conference

July 19, 2019
By

The keynote presentations from last week's useR!2019 conference in Toulouse are now available for everyone to view on YouTube. (The regular talks were also recorded and video should follow...

Read more »

Time series forecast cross-validation by @ellis2013nz

Time series forecast cross-validation by @ellis2013nz

Time series cross-validation is important part of the toolkit for good evaluation of forecasting models. forecast::tsCV makes it straightforward to implement, even with different combinations of explanatory regressors...

Read more »

How to make 3D Plots in R (from 2D Plots of ggplot2)

July 19, 2019
By
How to make 3D Plots in R (from 2D Plots of ggplot2)

Are you interested in guest posting? Publish at DataScience+ via your editor (i.e., RStudio). Category Visualizing Data Tags Best R Packages Data Visualisation R Programming 3D Plots built in the right way for the right...

Read more »

What NOT to do when building a shiny app (lessons learned the hard way)

What NOT to do when building a shiny app (lessons learned the hard way)

I’ve been building R shiny apps for a while now, and ever since I started working with shiny, it has significantly increased the set of services I offer my...

Read more »

Statistical matching, or when one single data source is not enough

Statistical matching, or when one single data source is not enough

I was recently asked how to go about matching several datasets where different samples of individuals were interviewed. This sounds like a big problem; say that you have dataset A...

Read more »

An R Users Guide to JSM 2019

July 18, 2019
By
An R Users Guide to JSM 2019

If you are like me, and rather last minute about making a plan to get the most out of a large conference, you are just starting to think about...

Read more »

Dotplot – the single most useful yet largely neglected dataviz type

July 18, 2019
By
Dotplot – the single most useful yet largely neglected dataviz type

I have to confess that the core message of this post is not really a fresh saying. But if I was given a chance to deliver one dataviz advise...

Read more »

Wordcloud of conference abstracts – FOSS4G Edinburgh

July 18, 2019
By
Wordcloud of conference abstracts – FOSS4G Edinburgh

FOSS4G conference wordcloud of abstracts. Code included!

Read more »

RStudio Trainer Directory Launches

July 17, 2019
By

Several dozen people have taken part in RStudio’s instructor training and certification program since it was announced earlier this year. Since our last update, many of them have completed...

Read more »

Plotting Bayes Factors for multiple comparisons using ggsignif

Plotting Bayes Factors for multiple comparisons using ggsignif

This week my post is relatively short and very focused. What makes it interesting (at least to me) is whether it will be seen as a useful “bridge” between frequentist methods...

Read more »

Search R-bloggers

Sponsors