September 2019

Twitter “Account Analysis” in R

September 14, 2019 | hrbrmstr

This past week @propublica linked to a really spiffy resource for getting an overview of a Twitter user’s profile and activity called accountanalysis. It has a beautiful interface that works as well on mobile as it does in a real browser. It also is fully interactive and supports cross-filtering (...
[Read more...]

September 2019 Democratic Debates Added to {ggchicklet}

September 14, 2019 | hrbrmstr

The latest round of the 2020 Democratic debates is over and the data from all the 2019 editions of the debates have been added to {ggchicklet}. The structure of the debates2019 built-in dataset has changed a bit: library(ggchicklet) library(hrbrthemes) library(tidyverse) debates2019 ## # A tibble: 641 x 7 ## elapsed timestamp speaker topic debate_...
[Read more...]

ttdo 0.0.3: New package

September 13, 2019 | Thinking inside the box

A new package of mine arrived on CRAN yesterday, having been uploaded a few days prior on the weekend. It extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-don... [Read more...]

NIMBLE short course at Bayes Comp 2020 conference

September 13, 2019 | Chris Paciorek

We’ll be giving a short course on NIMBLE on January 7, 2020 at the Bayes Comp 2020 conference being held January 7-10 in Gainesville, Florida, USA. Bayes Comp is a popular biennial ISBA-sponsored conference focused on computational methods/algorithms/technologies for Bayesian inference. The short course focuses on programming algorithms in NIMBLE ...
[Read more...]

Initializing an empty list

September 13, 2019 | kaijagahm

Problem How do I initialize an empty list for use in a for-loop or function? Context Sometimes I’m writing a for-loop (I know, I know, don’t use for-loops, but sometimes it’s just easier. I’m a little less good at apply functions than I’d like to ... [Read more...]

Curiosity + Data + Customer Segmentation = Goodies

September 13, 2019 | Krystian Igras

TL; DR  I used a Kaggle database to show you how to separate your customers into distinct groups based on their purchase behavior.  With this method, store managers can customize interactions with  existing and potential customers to increase loyalty and eventually, all of the goodies that come with consistent purchases.  ...
[Read more...]

Reproducing the kidney cancer example from BDA

September 13, 2019 | Robin Ryder

This is an attempt at reproducing the analysis of Section 2.7 of Bayesian Data Analysis, 3rd edition (Gelman et al.), on kidney cancer rates in the USA in the 1980s. I have done my best to clean the data from the original. Andrew wrote a blog post to “disillusion [us] about ...
[Read more...]

Fitting ‘complex’ mixed models with ‘nlme’: Example #4

September 12, 2019 | R on The broken bridge between biologists and statisticians

Testing for interactions in nonlinear regression Factorial experiments are very common in agriculture and they are usually laid down to test for the significance of interactions between experimental factors. For example, genotype assessments may be performed at two different nitrogen fertilisation levels (e.g. high and low) to understand whether ...
[Read more...]

Athena and R … there is another way!?

September 12, 2019 | Dyfan Jones Brain Dump HQ

RBloggers|RBloggers-feedburner Intro: Currently there are two key ways in connecting to Amazon Athena from R, using the ODBC and JDBC drivers. To access the ODBC driver R users can use the excellent odbc package supported by Rstudio. To access the JDBC driver R users can either use the RJDBC ... [Read more...]
1 5 6 7 8 9 12

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)