February 2020

#TidyTuesday hotel bookings and recipes

February 10, 2020 | Rstats on Julia Silge

Last week I published my first screencast showing how to use the tidymodels framework for machine learning and modeling in R. Today, I’m using this week’s #TidyTuesday dataset on hotel bookings to show how to use one of the tidymodels packages recipes with some simple models! Here is ...
[Read more...]

Shiny: Add/Removing Modules Dynamically

February 10, 2020 | R on Thomas Roh

Introduction Shiny modules provide a great way to organize and container-ize your code for building complex Shiny applications as well as protecting namespace collisions. I highly recommend starting with the excellent documentation from Rstudio. In this post, I am going to cover how to implement modules with insertUI/removeUI so ... [Read more...]

Modeling roll call voting behavior in the House of Representatives

February 10, 2020 | Jason Timm

Thoughts initial Data sets Modeling political ideology in the 116th House A final thought References Thoughts initial A brief (and copycat) go at modeling roll call voting behavior in the US House of Representatives using (1) constituency demographics, (2) house member party affiliation, and (3) house member characteristics. This post is based directly ...
[Read more...]

%$% : upping your pipe game

February 10, 2020 | kaijagahm

Problem What do I do when %__% doesn’t work? Context I love the %__%  pipe. Originally from magrittr, it’s now characteristic of tidy code. Using %__% has revolutionized how I write code in R (pssst! coming soon: an interactive pipe tutorial!). But sometimes the basic pipe falls short. table() is one ...
[Read more...]

Learn Julia for Data Science

February 10, 2020 | Paul van der Laken

Most data scientists favor Python as a programming language these days. However, there’s also still a large group of data scientists coming from a statistics, econometrics, or social science and therefore favoring R, the programming language they learned in university. Now there’s a new kid on the block: ...
[Read more...]

tempdisagg: converting quarterly time series to daily

February 10, 2020 | Christoph

Not having a time series at the desired frequency is a common problem for researchers and analysts. For example, instead of quarterly sales, they only have annual sales. Instead of a daily stock market index, they only have a weekly index. While there is no way to fully make up ...
[Read more...]

Last call for the course on Advanced R programming

February 10, 2020 | Super User

Next week we will hold our yearly course on Advanced R programming at LStat, Leuven. If you are interested in learning one of the following techniques, don't hesitate to subscribe at https://lstat.kuleuven.be/training/coursedescriptions/AdvancedprogramminginR.html Functions, the apply family of functions, parallelisation, advanced data manipulation with ... [Read more...]

Code generation in R packages

February 9, 2020 | Posts on R-hub blog

If you use the same code three times, write a function. If you write three such related functions, set up a package. But if you write three embarrassingly similar functions… write code to generate their code for you? In this post, we’ll deal with source code generation. We’ll ... [Read more...]

What is New For vtreat 1.5.2?

February 9, 2020 | John Mount

vtreat version 1.5.2 just became available from CRAN. We have a logged a few improvement in the NEWS. The changes are small and incremental, as the package is already in a great stable state for production use. One of the biggest improvements is documentation clean up, and adapting the examples to ... [Read more...]

Le Monde puzzle [#1129]

February 9, 2020 | xi'an

A number challenge as Le weekly Monde current mathematical puzzle: When the three consecutive numbers 110, 111 and 112, they all are multiples of the sum of their digits. Are there 4 consecutive numbers with three digits like this? A contrario, does there exist 17 consecutive numbers with three digits such that they cannot be […]
[Read more...]

RcppArmadillo 0.9.850.1.0

February 9, 2020 | Thinking inside the box

Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab. RcppArmadillo integrates this library with the R environment and... [Read more...]

cran2copr: RPM repos with 15k binary R packages

February 9, 2020 | Iñaki Úcar

Bringing R packages to Fedora (in fact, to any distro) is an Herculean task, especially considering the rate at which CRAN grows nowadays. So I am happy to announce the cran2copr project, which is an attempt to maintain binary RPM repos for most of CRAN (~15k packages as of ... [Read more...]

This blog is now on R-bloggers!

February 9, 2020 | A.M. Barbosa

I should have done this long ago, but it’s never too late: modTools has finally been added to R-bloggers — a content aggregator contributed by bloggers who write about R, empowering bloggers to empower other R users. I hope the … Continue reading → [Read more...]

Tidy Tuesday Functions

February 8, 2020 | r on Joel Soroos

    1. Most widely learned functions are in ggplot2 and dplyr packages. package n percent ggplot2 16 0.176 dplyr 9 0.099 base 6 0.066 stringr 5 0.055 ggimage 3 0.033 ggraph 3 0.033 lubr... [Read more...]

MST3K Episode vs Movie Scores

February 8, 2020 | R on Data & The World

First broadcast in 1988, Mystery Science Theater 3000 is a television show whose nominal story involves a guy being trapped in space by a couple of mad scientist types…which is actually just an excuse to have a few guys make fun of really, really bad movies. This raises a few unusual ...
[Read more...]
1 8 9 10 11 12 13

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)