July 2020

Simulating multiple RCTs to simulate a meta-analysis

July 6, 2020 | Keith Goldfeld

I am currently involved with an RCT that is struggling to recruit eligible patients (by no means an unusual problem), increasing the risk that findings might be inconclusive. A possible solution to this conundrum is to find similar, ongoing trials with the aim of pooling data in a single analysis, ...
[Read more...]

Create a data transformation pipeline

July 6, 2020 | Quantargo Blog

All data transformation functions in dplyr can be connected through the pipe %__% operator to create powerful and yet expressive data transformation pipelines. Use the pipe operator %__% to combine multiple dplyr functions into one pipeline %__% filter(___) %__% select(___) %__% arrange(___) Using the %__% operator The pipe operator %__% is a special part of the tidyverse ...
[Read more...]

Rcpp 1.0.5: Several Updates

July 6, 2020 | Thinking inside the box

Right on the heels of the news of 2000 CRAN packages using Rcpp (and also hitting 12.5 of CRAN package, or one in eight), we are happy to announce release 1.0.5 of Rcpp. Since the ten-year anniversary and the 1.0.0 release release in November 2018, ... [Read more...]

The Mandelbrot Set

July 6, 2020 | Rory Winston

The Mandelbrot Set is possibly one of the most visually appealing mathematical visualizations. The set is defined as the set of complex numbers $c$ for which the function $f_c(z) = z^2 + c$ remains bounded when iterated – i.e. the sequence $f_c(z), f_c(f_c(z)),f_... [Read more...]

Best Practices for Code Review: R Edition

July 5, 2020 | Abraham Mathew

A. What is Code Review? Code reviews are traditionally done in the context of a software development team that is building out a new product or feature. The goal is to ensure that anything added to the common code base is free of bugs, follows established coding conventions, and is ...
[Read more...]

R + Python = Rython

July 5, 2020 | Eran Raviv

Enough! Enough with that pointless R versus Python debate. I find it almost as pointless as the Bayesian vs Frequentist “dispute”. I advocate here what I advocated there (“..don’t be a Bayesian, nor be a Frequenist, be opportunist“). Nowadays even marginally tedious computation is being sent to faster, minimum-overhead ... [Read more...]

News in htmlTable 2.0

July 4, 2020 | Max Gordon

The htmlTable 2.0 package was just released on CRAN! It is my most downloaded package with 160 000+ downloads/month and this update is something that I have been wanting to do for a long time. For those of you that never encountered htmlTable it is a package that takes a matrix/data.... [Read more...]

Formatting With ggtext Example

July 3, 2020 | R on Data & The World

This is a quick example regarding the ggtext package. It’s one of the many packages that extends ggplot2, with this one having a focus on adding and formatting text in graphs. The particularly interesting thing for me is that it allows Markdown and other formatting of the labels in ...
[Read more...]

Resource Round-Up: Latent and Lasting Documentation

July 2, 2020 | rstats | Emily Riederer

The importance of documentation is uncontroversial. For many data and analytical products, documentation is the user interface and key to promoting user success and future reuse. However, when project timelines get tight, too many data products are considered complete without appropriate documentation. Even when these resources initially exist, they too ... [Read more...]

Sort data frames by columns

July 2, 2020 | Quantargo Blog

To select areas of interest in a data frame they often need to be ordered by specific columns. The dplyr arrange() function supports data frame orderings by multiple columns in ascending and descending order. Use the arrange() function to sort data f...
[Read more...]
1 11 12 13 14

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)