May 2020

A switch-case construct for the R language

May 10, 2020 | Topics in R

In contrast to many other programming languages, R has no native switch-case statement. Often, however, it is useful to have an efficient way of testing multiple, similar conditions while avoiding nested if-else constructs which make the code less clear and readable. The switchcase package offers a switch-case construct for R. ... [Read more...]

eponge: Keep Your Environment Clean

May 9, 2020 | A Hugo website

eponge is a small package, which facilitates selective object removal. It was released on CRAN at 23th March 2020. Initially, the package was named sponge, but during first submission trial I found out, that currently there exists the SPONGE package, a... [Read more...]

Benchmark of popular graph/network packages v2

May 9, 2020 | Timothy Lin

This is an update of a benchmark of popular graph / network packages post. This study aims to serve as a starting point for anyone interested in applied graph or network analysis. The featured network packages offer a convenient and standardised API for modelling data as graphs and extracting network related ...
[Read more...]

eponge: Keep Your Environment Clean

May 9, 2020 | Your Name

eponge is a small package, which facilitates selective object removal. It was released on CRAN at 23th March 2020. Initially, the package was named sponge, but during first submission trial I found out, that currently there exists the SPONGE package, ...
[Read more...]

Riddler: Can You Tell When The Snow Started?

May 9, 2020 | Posts | Joshua Cook

FiveThirtyEight’s Riddler Express ( Link to the original article.) From Patrick Mayor comes a question about something we’re doing these days to keep ourselves and others safe: social distancing. You’re walking along the middle of a wide sidewalk when you see someone walking toward you from the other ...
[Read more...]

Preserving zero-length groups

May 8, 2020 | R | TypeThePipe

This week I learned about another neat trick with tidyverse functions: the argument .drop from the group_by function. To showcase this functionality I made up a simple example with this dataset consisting of nuclear accidents data. original_data % mdy() %__% year(), In_Europe = if_else(Region %in% c("EE", "WE"), ...
[Read more...]

Understanding Word Embedding Arithmetic: Why there’s no single answer to “King - Man + Woman = ?”

May 8, 2020 | modern.data

Representing words in a numerical format has been a challenging and important first step in building any kind of Machine Learning (ML) system for processing natural language, be it for modelling social media sentiment, classifying emails, recognizing names inside documents, or translating sentences into other languages. Machine Learning models can ...
[Read more...]

tinytest 1.2.0 is on CRAN

May 8, 2020 | mark

tinytest is a relatively new, light-weight (no-dependency) but full-featured unit testing framework for R. It is currently used by 60+ packages, including the famous Rcpp package. The latest version of tinytest was accepted by CRAN on 5 May 2020. This … Continue reading →
[Read more...]
1 11 12 13 14 15 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)