an attempt at code golf

May 14, 2019
By
an attempt at code golf

Having discovered codegolf on Stack Exchange a few weeks ago, I spotted a few interesting puzzles since then but only got the opportunity at a try over a quiet and rainy weekend (and Robin being on vacation)! The challenge was to write an R code for deciding whether or not a given integer n is

Read more »

Make your package spherical

May 14, 2019
By
Make your package spherical

Larger packages typically consist of functions that are visible to the users (exported functions) and functions that are used by the exported functions, but that are invisible to the user. For example: # exported, user-visible function inch2cm

Read more »

Production Line Stations Maintenance Prediction – Process Flow.

May 14, 2019
By
Production Line Stations Maintenance Prediction – Process Flow.

Steps Needed in a Process to Detect Anomalies And Have a Maintenance Notice Before We Have Scrap Created on The Production Line.Describing my previous articles( 1, 2 ) process flow:Get Training Data.At least 2 weeks of passed units measurements.Data Cl...

Read more »

Introduction to AzureKusto

May 14, 2019
By

By Hong Ooi and Alex Kyllo This post is to announce the availability of AzureKusto, the R interface to Azure Data Explorer (internally codenamed “Kusto”), a fast, fully managed data analytics service from Microsoft. It is available from CRAN, or you can install the development version from GitHub via devtools::install_github("cloudyr/AzureKusto"). AzureKusto provides an interface (including DBI compliant methods for...

Read more »

House effects, herding, and the last few days before the election by @ellis2013nz

House effects, herding, and the last few days before the election by @ellis2013nz

So, we’re down to the last few days before the Australian federal election, the first one that I’ve been tracking polls and making forecasts for. I thought I’d address a couple of points raised on Twitter about my forecasts. My forecasts are gene...

Read more »

Transforming E-commerce Data into SCM Value

May 14, 2019
By
Transforming E-commerce Data into SCM Value

(This article was first published on R – NYC Data Science Academy Blog, and kindly contributed to R-bloggers) Introduction The enlargement of e-commerce platform on brick and mortar retailers is one eminent illustration of the big data phenomenon in which is wiping out many traditional retail industries nowadays. There are many well known aspects and causation of Amazon’s huge...

Read more »

Was the Bavarian Abitur too hard this time?

May 14, 2019
By
Was the Bavarian Abitur too hard this time?

Bavaria is known for its famous Oktoberfest… and within Germany also for its presumably difficult Abitur, a qualification granted by university-preparatory schools in Germany. A mandatory part for all students is maths. This year many students protested that the maths part was way too hard, they even started an online petition with more than seventy … Continue reading "Was...

Read more »

Transfer learning and semi-supervised learning with ruimtehol

May 13, 2019
By

Last week the R package ruimtehol was updated on CRAN giving R users who perform Natural Language Processing access to the possibility to Allow to do semi-supervised learning (learning where you have both text as labels but not always both of them on ...

Read more »

Upgrading to R 3.6.0 on a Mac – May 14, 2019

May 13, 2019
By

Every time there is a new major update from The R Foundation (like the recent 3.6.0 release in April). I’m always happy to see the continuing progress and the combination of new features and bug fixes, but I also dread the upgrade because it means I have to address the issue of what to do about the burgeoning number...

Read more »

Introducing SAML in RStudio Connect

May 13, 2019
By
Introducing SAML in RStudio Connect

RStudio Connect 1.7.4 builds off of the prior release with significant improvements for RStudio Connect administrators. SAML support is available for production, a new admin view of scheduled reports helps identify potential conflicts, additional server APIs support deployment workflows, and our email configuration has been completely re-vamped. View Scheduled Content Scheduled Content Calendar This...

Read more »

POWER to the People

POWER to the People

NASA generates and provides heaps of data to the scientific community. Not all of it is looking out at the stars. Some of it is looking back at us here on Earth. NASA’s Earth science program observes, understands and models the Earth system1. We can use these data to discover how our Earth is changing, to better predict change, and to understand the...

Read more »

Generating and modeling over-dispersed binomial data

May 13, 2019
By
Generating and modeling over-dispersed binomial data

A couple of weeks ago, I was inspired by a study to write about a classic design issue that arises in cluster randomized trials: should we focus on the number of clusters or the size of those clusters? This trial, which is concerned with preventing opioid use disorder for at-risk patients in primary care clinics, has also motivated this...

Read more »

Who named their kid Daenerys or Khaleesi?

May 13, 2019
By
Who named their kid Daenerys or Khaleesi?

The Game of Thrones character, Daenerys Targaryen, suffered a hit to her reputation in the final season of the much-watched HBO series. For the past few years, she has been a crowd favorite--combining brave determination, style, and dragon(s). Many people went a step further in their admiration and named their offspring after her. Below are a couple of charts...

Read more »

Baby Name Animation

May 13, 2019
By
Baby Name Animation

I was playing around with the gganimate package this morning and thought I’d make a little animation showing a favorite finding about the distribution of baby names in the United States. This is the fact—I think first noticed by Laura Wattenberg, of the Baby Name Voyager—that there has been a sharp, relatively recent rise in boys’ names ending in...

Read more »

RcppAnnoy 0.0.12

A new release of RcppAnnoy is now on CRAN. RcppAnnoy is the Rcpp-based R integration of the nifty Annoy library by Erik. Annoy is a small and lightweight C++ template header library for very fast approximate nearest neighbours—originally developed ...

Read more »

Faster Way to Slice Dataframe by Row

May 12, 2019
By

When we’d like to slice a dataframe by row, we can employ the split() function or the iter() function in the iterators package. By leveraging the power of parallelism, I wrote an utility function slice() to faster slice the dataframe. In the example shown below, the slice() is 3 times more efficient than the split()

Read more »

Can The New York Times Improve Their Recipes?

May 12, 2019
By
Can The New York Times Improve Their Recipes?

Can data analysis of the NYT recipe pages improve their performance and popularity?

Read more »

Virtual Morel Foraging with R

May 12, 2019
By
Virtual Morel Foraging with R

Bryan Lewis is a mathematician, R developer and mushroom forager.                               Morchella Americana by Bryan W. Lewis, see https://ohiomushroomsociety.wordpress.com/ It’s that time of year again, when people in the Midwestern US go nuts for morel mushrooms. Although fairly common in Western Pennsylvania, Ohio, Indiana, Illinois, Wisconsin, and, especially, Michigan1, they can still be tricky to find due to the vagaries of weather and mysteries...

Read more »

A perfectly normally distributed sample: another post?

May 12, 2019
By
A perfectly normally distributed sample: another post?

Recently, we published a post presenting a small convenience function, from the bayestestR package. This function, named rnorm_perfect, generated an empirical distribution (i.e., a vector of values) as close as possible to a desired distribution, in...

Read more »

Deep (learning) like Jacques Cousteau – Part 4 – Scalar multiplication

Deep (learning) like Jacques Cousteau – Part 4 – Scalar multiplication

(TL;DR: Multiply a vector by a scalar one element at a time.)

Read more »

Quick Hit: Updates to QuickLookR and {rdatainfo}

May 12, 2019
By
Quick Hit: Updates to QuickLookR and {rdatainfo}

I’m using GitUgh links here b/c the issue was submitted there. Those not wishing to be surveilled by Microsoft can find the macOS QuickLook plugin project and {rdatainfo} project in SourceHut and GitLab (~hrbrmstr and hrbrmstr accounts respectively). I hadn’t touched QuickLookR🔗 or {rdatainfo}🔗 at all since 2016 since it was really just an example... Continue reading →

Read more »

Earthquake Analysis (3/4): Visualizing Data on Maps

May 12, 2019
By
Earthquake Analysis (3/4): Visualizing Data on Maps

Interested in guest posting? We would love to share your codes and ideas with our community. Categories Basic Statistics Tags Data Visualisation ggplot2 Maps R Programming Tips & Tricks This is the third part of our post series about the exploratory analysis of a publicly available dataset reporting earthquakes and similar events within a specific 30 days time span. In this post, we are going to show static,...

Read more »

Make it explainable!

May 12, 2019
By
Make it explainable!

Most people make the mistake of thinking design is what it looks like… People think it’s this veneer — that the designers are handed this box and told, ‚Make it look good!’ That’s not what we think design is. It’s not just what it looks like and feels like. Design is how it works. Steve … Czytaj dalej Make...

Read more »

The Secret of Landusia: A Text Adventure in the R Language

May 12, 2019
By
The Secret of Landusia: A Text Adventure in the R Language

Text adventures dominated the computer gaming world in the 1980s. This article explains how to write interactive fiction using the R language., The post The Secret of Landusia: A Text Adventure in the R Language appeared first on The Lucid Manager.

Read more »

Gamma Process Prior for Semiparametric Survival Analysis

May 11, 2019
By
Gamma Process Prior for Semiparametric Survival Analysis

Motviation The Gamma Process Prior Independent Hazards Correlated Hazards Heads up: equations may not render on blog aggregation sites. See original post here for good formatting. If you like this post, you can follow me on twitter. Motviation Suppose we observe survival/event times from some distribution \ where \(f\) is the density and \(F(t)=1-S(t)\) is the corresponding CDF expressed in terms of the...

Read more »

RcppArmadillo 0.9.400.3.0

RcppArmadillo 0.9.400.3.0

The recent 0.9.400.2.0 release of RcppArmadillo required a bug fix release. Conrad follow up on Armadillo 9.400.2 with 9.400.3 – which we packaged (and tested extensively as usual). It is now on CRAN and will get to Debian shortly. Armadillo is a ...

Read more »

winedApp: Wine Recommendation and Data Analysis Web App

May 11, 2019
By
winedApp: Wine Recommendation and Data Analysis Web App

About  Don't wind up with the wrong wine at the wrong time: unwind with the world's best! winedApp provides insights into prices, ratings, descriptions, and geographic distribution of the world's most esteemed wines. Novice or connoisseur, consumer or seller, this app will meet your oenophile needs. In the Wine Explorer, you can enter your location,

Read more »

What is “Tidy Data”?

May 11, 2019
By

I would like to write a bit on the meaning and history of the phrase “tidy data.” Hadley Wickham has been promoting the term “tidy data.” For example in an eponymous paper, he wrote: In tidy data: Each variable forms a column. Each observation forms a row. Each type of observational unit forms a table. … Continue reading What...

Read more »

Big Data-4: Webserver log analysis with RDDs, Pyspark, SparkR and SparklyR

May 11, 2019
By
Big Data-4: Webserver log analysis with RDDs, Pyspark, SparkR and SparklyR

“There’s something so paradoxical about pi. On the one hand, it represents order, as embodied by the shape of a circle, long held to be a symbol of perfection and eternity. On the other hand, pi is unruly, disheveled in appearance, its digits obeying no obvious rule, or at least none that we can perceive. … Continue reading Big...

Read more »

Search R-bloggers

Sponsors

Mango solutions





Zero Inflated Models and Generalized Linear Mixed Models with R



Quantide: statistical consulting and training

ODSC boston

http://www.eoda.de











Six Sigma Online Training

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.