R Tip: Use Inline Operators For Legibility

January 14, 2019
By

R Tip: use inline operators for legibility. A Python feature I miss when working in R is the convenience of Python‘s inline + operator. In Python, + does the right thing for some built in data types: It concatenates lists: + is . It concatenates strings: 'a' + 'b' is 'ab'. … Continue reading R...

Read more »

ggeffects 0.8.0 now on CRAN: marginal effects for regression models #rstats

January 14, 2019
By
ggeffects 0.8.0 now on CRAN: marginal effects for regression models #rstats

I’m happy to announce that version 0.8.0 of my ggeffects-package is on CRAN now. The update has fixed some bugs from the previous version and comes along with many new features or improvements. One major part that was addressed in the latest version are fixed and improvements for mixed models, especially zero-inflated mixed models (fitted … Weiterlesen ggeffects 0.8.0...

Read more »

pcLasso: a new method for sparse regression

January 13, 2019
By
pcLasso: a new method for sparse regression

I’m excited to announce that my first package has been accepted to CRAN! The package pcLasso implements principal components lasso, a new method for sparse regression which I’ve developed with Rob Tibshirani and Jerry Friedman. In this post, I will … Continue reading →

Read more »

🖊 R Coding Style Guide

January 13, 2019
By
🖊 R Coding Style Guide

Language is a tool that allows human beings to interact and communicate with each other. The clearer we express ourselves, the better the idea is transferred from our mind to the other. The same applies to programming languages: concise, clear and consistent codes are easier to read and edit. It is especially important, if you have collaborators, which depend...

Read more »

rOpenSci’s new Code of Conduct

We are pleased to announce the release of our new Code of Conduct. rOpenSci’s community is our best asset and it’s important that we put strong mechanisms in place before we have to act on a report. As before, our Code applies equally to members of the rOpenSci team and to anyone from the community at large participating in in-person...

Read more »

colorspace: New Tools for Colors and Palettes

January 13, 2019
By
colorspace: New Tools for Colors and Palettes

A major update (version 1.4.0) of the R package colorspace has been released to CRAN, enhancing many of the package's capabilities, e.g., more refined palettes, named palettes, ggplot2 color scales, visualizations for assessing palettes, shin...

Read more »

Travis CI for R — Advanced guide

January 13, 2019
By
Travis CI for R — Advanced guide

Travis CI for R — Advanced guide Continuous integration for building an R project in Travis CI including code coverage, pkgdown documentation, osx and multiple R-Versions Photo by Guilherme Cunha on UnsplashTravis CI is a common tool to build R packages. It is in my opinion the best platform to use R in continuous integration. Some of the most downloaded R packages built at this...

Read more »

Showing a difference in means between two groups

January 13, 2019
By
Showing a difference in means between two groups

Visualising a difference in mean between two groups isn’t as straightforward as it should. After all, it’s probably the most common quantitative analysis in science. There are two obvious options: we can either plot the data from the two groups separately, or we can show the estimate of the difference with an interval around it.

Read more »

Medium + r-bloggers — How to integrate?

January 13, 2019
By
Medium + r-bloggers — How to integrate?

Medium + r-bloggers — How to integrate? Build up a PHP script that allows you to post your Medium articles on r-bloggers.com. The script filters an RSS feed by item tags. Photo by Ato Aikins on UnsplashMotivation I started my blog about R on Medium. Medium is a wonderful platform with a great user interface. The idea to use it came by reading a blog post...

Read more »

XmR Chart | Step-by-Step Guide by Hand and with R

January 12, 2019
By
XmR Chart | Step-by-Step Guide by Hand and with R

Is your process in control? The XmR chart is a great statistical process control (SPC) tool that can help you answer this question, reduce waste, and increase productivity. We'll cover the concepts behind XmR charting and explain the XmR control constant with some super simple R code. Lastly, we'll cover how to make the XmR plot by hand, with...

Read more »

Generating Synthetic Data Sets with ‘synthpop’ in R

January 12, 2019
By
Generating Synthetic Data Sets with ‘synthpop’ in R

Synthpop – A great music genre and an aptly named R package for synthesising population data. I recently came across The post Generating Synthetic Data Sets with ‘synthpop’ in R appeared first on Daniel Oehm | Gradient Descending.

Read more »

Making sense of the METS and ALTO XML standards

Making sense of the METS and ALTO XML standards

Last week I wrote a blog post where I analyzed one year of newspapers ads from 19th century newspapers. The data is made available by the national library of Luxembourg. In this blog post, which is part 1 of a 2 part series, I extract data from the 257gb archive, which contains 10 years of publications of the L’Union, another 19th century Luxembourguish...

Read more »

Practical Data Science with R, 2nd Edition discount!

January 12, 2019
By
Practical Data Science with R, 2nd Edition discount!

Please help share our news and this discount. The second edition of our best-selling book Practical Data Science with R2, Zumel, Mount is featured as deal of the day at Manning. The second edition isn’t finished yet, but chapters 1 through 4 are available in the Manning Early Access Program (MEAP), and we have finished … Continue reading Practical...

Read more »

I walk the (train) line – part deux – the weight loss continues

January 12, 2019
By
I walk the (train) line – part deux – the weight loss continues

(TL;DR: author continues to use his undiagnosed OCD for good. Breath-first search introduced on simple graph.)

Read more »

I walk the (train) line – part deux – the weight loss continues

January 12, 2019
By
I walk the (train) line – part deux – the weight loss continues

(TL;DR: author continues to use his undiagnosed OCD for good. Breath-first search introduced on simple graph.)

Read more »

10 years of playback history on Last.FM: "Just sit back and listen"

January 12, 2019
By
10 years of playback history on Last.FM: "Just sit back and listen"

Alright, seems like this is developing into a blog where I am increasingly investigating my own music listening habits.Recently, I've come across the analyzelastfm package by Sebastian Wolf. I used it to download my complete listening history from Last.FM for the last ten years. That's a complete dataset from 2009 to 2018 with exactly 65,356 "scrobbles" (which is the...

Read more »

How to combine Multiple ggplot Plots to make Publication-ready Plots

January 11, 2019
By
How to combine Multiple ggplot Plots to make Publication-ready Plots

CategoriesVisualizing Data Tags Best R Packages Data Visualisation R Programming The life cycle of Data science can never be completed without communicating the results of the analysis/research. In fact, Data Visualization is one of the areas where R as a language for Data science has got an edge over the most-celebrated Python. With ggplot2 being the de facto Visualization DSL (Domain-Specific Language) for R...

Read more »

GetDFPData Ver 1.4

January 11, 2019
By

I just released a major update to package GetDFPData. Here are the main changes: Naming conventions for caching system are improved so that it reflects different versions of FRE and DFP files. This means the old caching system no longer works. If you h...

Read more »

NYC Meetup Thursday: Under the hood: Stan’s library, language, and algorithms

January 11, 2019
By

I (Bob, not Andrew!) will be doing a meetup talk this coming Thursday in New York City. Here’s the link with registration and location and time details (summary: pizza unboxing at 6:30 pm in SoHo): Bayesian Data Analysis Meetup: Under the hood: Stan’s library, language, and algorithms After summarizing what Stan does, this talk will

Read more »

Parallelize a For-Loop by Rewriting it as an Lapply Call

January 11, 2019
By
Parallelize a For-Loop by Rewriting it as an Lapply Call

A commonly asked question in the R community is: How can I parallelize the following for-loop? The answer almost always involves rewriting the for (...) { ... } loop into something that looks like a y

Read more »

R Tip: Use seqi() For Indexes

January 11, 2019
By

R Tip: use seqi() for indexing. R‘s “1:0 trap” is a mal-feature that confuses newcomers and is a reliable source of bugs. This note will show how to use seqi() to write more reliable code and document intent. The issue is, contrary to expectations (formed in working with other programming languages) the sequence 1:0 is … Continue reading R...

Read more »

Satellite imagery generation with Generative Adversarial Networks (GANs)

January 11, 2019
By
Satellite imagery generation with Generative Adversarial Networks (GANs)

What are GANs? Some time ago, I showed you how to create a simple Convolutional Neural Network (ConvNet) for satellite imagery classification using Keras. ConvNets are not the only cool thing you can do in Keras, they are actually just the tip of an iceberg. Now,I think it’s about time to show you something more! Article Satellite imagery generation...

Read more »

pinp 0.0.7: More small YAML options

January 11, 2019
By
pinp 0.0.7: More small YAML options

A good six months after the previous release, another small feature release of our pinp package for snazzier one or two column Markdown-based pdf vignettes got onto CRAN minutes ago as another release indicating a fully automat...

Read more »

Add a static pdf vignette to an R package

January 11, 2019
By
Add a static pdf vignette to an R package

Most vignettes are built when a package is built, but there are occasions where you just want to include a pdf. For example when you want to include a paper. Of course there is a package supporting this, but in … Continue reading →

Read more »

epubr 0.6.0 CRAN release

January 10, 2019
By

The epubr R package provides functions supporting the reading and parsing of internal e-book content from EPUB files. It has been updated to v0.6.0 on CRAN. This post highlights new functionality. The key improvements focus on cases where EPUB files have poorly arranged text when loaded into R as a result of their metadata entries and archive file structure. library(epubr) file...

Read more »

Visualizing the Asian Cup with R!

January 10, 2019
By
Visualizing the Asian Cup with R!

Another year, another big soccer/football tournament! This time it’s the top international competition in Asia, the Asian Cup hosted in the U.A.E. In this blog post I’ll be covering (responsible) web-scraping, data wrangling (...

Read more »

Roll Your Own Federal Government Shutdown-caused SSL Certificate Expiration Monitor in R

January 10, 2019
By
Roll Your Own Federal Government Shutdown-caused SSL Certificate Expiration Monitor in R

By now, even remote villages on uncharted islands in the Pacific know that the U.S. is in the midst of a protracted partial government shutdown. It’s having real impacts on the lives of Federal government workers but they aren’t the only ones. Much of the interaction Federal agencies have with the populace takes place online... Continue reading →

Read more »

Who is the greatest finisher in soccer?

January 10, 2019
By
Who is the greatest finisher in soccer?

It's relatively easy to find the player who has scored the most goals in the last 12 years (hello, Lionel Messi). But which professional football (soccer) player is the best finisher, i.e. which player is most likely to put a shot they take into the goal? You can't simply use the conversion rate (the ratio of shots taken to...

Read more »

Waffle Geoms & Other Miscellaneous In-Development Package Updates

January 10, 2019
By
Waffle Geoms & Other Miscellaneous In-Development Package Updates

More than just sergeant has been hacked on recently, so here’s a run-down of various 📦 updates: waffle The square pie chart generating waffle🔗 package now contains a nascent geom_waffle() so you can do things like this: library(hrbrthemes) library(waffle) library(tidyverse) tibble( parts = factor(rep(month.abb, 3), levels=month.abb), values = c(10, 20, 30, 6, 14, 40, 30,... Continue reading →

Read more »

Search R-bloggers


Sponsors

Mango solutions





Zero Inflated Models and Generalized Linear Mixed Models with R



wiley.com/learn/datascience

datasciencego.com

Quantide: statistical consulting and training

ODSC boston

datasociety

http://www.eoda.de









Six Sigma Online Training

mljar.com

Our ads respect your privacy. Read our Privacy Policy page to learn more.

Contact us if you wish to help support R-bloggers, and place your banner here.