A small logical change with big impact

October 16, 2018
By

In R, the logical || (OR) and && (AND) operators are unique in that they are designed only to work with scalar arguments. Typically used in statements like while(iter __ 1000 && eps __ 0.0001) continue_optimization() the assumption is that the objects on either side (in the example above, iter and eps) are single values (that is, vectors of...

Read more »

ABC intro for Astrophysics

October 15, 2018
By
ABC intro for Astrophysics

Today I received in the mail a copy of the short book published by edp sciences after the courses we gave last year at the astrophysics summer school, in...

Read more »

MCHT, Closures, and R Environments: Making MCHTest Objects Self-Contained

October 15, 2018
By
MCHT, Closures, and R Environments: Making MCHTest Objects Self-Contained

Introduction Last week I announced the first release of MCHT, an R package that facilitates bootstrap and Monte Carlo hypothesis testing. In this article, I will elaborate on some...

Read more »

Making Art in R

October 15, 2018
By
Making Art in R

Amazing artworks people made in R:See their source code and more arts at:http://www.r-graph-gallery.com/286-antonio-sanchez-dataart/

Read more »

Voice Control your Shiny Apps

October 15, 2018
By
Voice Control your Shiny Apps

I love R and I love Shiny. One of the things I really like about shiny is the ease with which you can incorporate other Javascript based tools and...

Read more »

I fell out with tapply and in love with dplyr

October 15, 2018
By
I fell out with tapply and in love with dplyr

dplyr is much more useful than tapply, read on to find out why.

Read more »

Data Science With R Course Series – Week 5

Data Science With R Course Series – Week 5

The culmination of the previous weeks has been preparation for machine learning modeling. At this stage, we have defined the business problem, we’ve explored and understood how the data...

Read more »

How we use emojis

October 15, 2018
By
How we use emojis

Once upon a time, we at STATWORX used Slack just as a messenger, but than everything changed when emojis came… Since then, we use them for all kinds of...

Read more »

Modularize your Shiny Apps: Exercises

October 15, 2018
By
Modularize your Shiny Apps: Exercises

Shiny modules are short (well, usually short) server and UI functions, that can be connected to each other by a common namespace, and be embedded within a regular Shiny...

Read more »

Most liked R-bloggers’ posts from last week (2018-10-07 till 2018-10-13 – based on twitter)

October 15, 2018
By

I’ve recently added new bloggers to the site, leading to an influx of posts (142 new posts on the site, just last week). And while I love R, I...

Read more »

Obtaining the number of components from cross validation of principal components regression

October 14, 2018
By
Obtaining the number of components from cross validation of principal components regression

Principal components (PC) regression is a common dimensionality reduction technique in supervised learning. The R lab for PC regression in James et al.’s Introduction to Statistical Learning is a...

Read more »

In Memoriam: Manfred te Grotenhuis

October 14, 2018
By
In Memoriam: Manfred te Grotenhuis

Manfred te Grotenhuis passed away. He was a respected sociologist, statistician, and teacher. I’ll leave it to others to comment on these achievements. To me, he was my teacher...

Read more »

RcppCCTZ 0.2.5

October 14, 2018
By

A new bugfix release 0.2.5 of RcppCCTZ got onto CRAN this morning – just a good week after the previous release. RcppCCTZ uses Rcpp to bring CCTZ to R....

Read more »

Introducing the New Zealand Trade Intelligence Dashboard

October 14, 2018
By
Introducing the New Zealand Trade Intelligence Dashboard

I’d like to introduce to you the New Zealand Trade Intelligence Dashboard. This is one of the New Zealand government shiny web apps that should have been mentioned in Peter...

Read more »

Crochet Patterns

October 14, 2018
By
Crochet Patterns

¡Ay que ver cómo se estropean los cuerpos! (Pilar, my beloved grandmother) My grandmother was a master of sewing. When she was young, she worked as dressmaker, and her...

Read more »

Statistics Sunday: Some Psychometric Tricks in R

October 14, 2018
By
Statistics Sunday: Some Psychometric Tricks in R

Statistics Sunday: Some Psychometrics Tricks in R It's been a long time since I've posted a Statistics Sunday post! Now that I'm moved out of my apartment...

Read more »

Monotonic Binning with Equal-Sized Bads for Scorecard Development

October 14, 2018
By

In previous posts (https://statcompute.wordpress.com/2017/01/22/monotonic-binning-with-smbinning-package) and (https://statcompute.wordpress.com/2017/06/15/finer-monotonic-binning-based-on-isotonic-regression), I’ve developed 2 different algorithms for monotonic binning. While the first tends to generate bins with equal densities, the second would define finer...

Read more »

Running R scripts within in-database SQL Server Machine Learning

October 14, 2018
By
Running R scripts within in-database SQL Server Machine Learning

Having all the R functions, all libraries and any kind of definitions (URL, links, working directories, environments, memory, etc) in one file is nothing new, but sometimes a lifesaver....

Read more »

Visualising Networks in ASOIAF – Part II

October 13, 2018
By
Visualising Networks in ASOIAF – Part II

This is the second post of a character network analysis of George R. R. Martin’s A Song Of Ice and Fire (ASOIAF) series as well as my first submission...

Read more »

Random Walk of Pi – Another ggplot2 Experiment

October 13, 2018
By
Random Walk of Pi – Another ggplot2 Experiment

There are so many beautiful “π” arts everywhere, and I wanted to practice ggplot2 by mimicing those arts further more. Another pi art caught my eye is random walk...

Read more »

Piping into ggplot2

October 13, 2018
By
Piping into ggplot2

In our wrapr pipe RJournal article we used piping into ggplot2 layers/geoms/items as an example. Being able to use the same pipe operator for data processing steps and for...

Read more »

Prophets of gloom: Using NLP to analyze Radiohead lyrics

October 13, 2018
By
Prophets of gloom: Using NLP to analyze Radiohead lyrics

From the first time I listened to Radiohead’s The Bends, the band has been my favorite. I was a grad student in England at the time, and I recall...

Read more »

RcppNLoptExample 0.0.1: Use NLopt from C/C++

October 13, 2018
By

A new package of ours, RcppNLoptExample, arrived on CRAN yesterday after a somewhat longer-than-usual wait for new packages as CRAN seems really busy these days. As always, a...

Read more »

How to import a directory of csvs at once with base R and data.table. Can you guess which way is the fastest?

October 13, 2018
By
How to import a directory of csvs at once with base R and data.table. Can you guess which way is the fastest?

Introduction Inspired by a recent post on how to import a directory of csv files at once using purrr and readr by Garrick, in this post we will try achieving...

Read more »

New package in CRAN: PkgsFromFiles

October 13, 2018
By
New package in CRAN: PkgsFromFiles

- Its been a while since I write...

Read more »

Open Workshop: Deep Learning in R and Keras, November 14th in Frankfurt

October 13, 2018
By
Open Workshop: Deep Learning in R and Keras, November 14th in Frankfurt

STATWORX welcomes you to our open workshop “Deep Learning in R and Keras” ! The workshop is designed for advanced R-users who are fluent in importing, processing and manipulating...

Read more »

GitHub Streak: Round Five

October 12, 2018
By
GitHub Streak: Round Five

Four years ago I referenced the Seinfeld Streak used in an earlier post of regular updates to to the Rcpp Gallery: This is sometimes called Jerry Seinfeld’s secret to...

Read more »

Visual Art with Pi using ggplot2 & circlize

October 12, 2018
By
Visual Art with Pi using ggplot2 & circlize

I stumbled across this beautiful art on Washington Post article, and I wanted to try making the similar art using “digits in pi” myself using R and things I’ve...

Read more »

Animated River Flow Revisited

October 12, 2018
By
Animated River Flow Revisited

My prior post on animated flow in the Delaware River contained the last work I performed on my previous lap top just before it gave up the ghost.  When...

Read more »

Search R-bloggers


Sponsors

Mango solutions





mckinsey.com

Zero Inflated Models and Generalized Linear Mixed Models with R



datasciencego.com

Quantide: statistical consulting and training

ODSC west

ODSC2 west

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.