Estimating Pi

October 16, 2018
By

I came across this post which gives a method to estimate Pi by using a circle, it’s circumscribed square and (lots of) random points within said square. Booth used Stata to estimate Pi, but here’s some R code to do the same thing… x

Read more »

Quasiquotation in R via bquote()

October 16, 2018
By

In August of 2003 Thomas Lumley added bquote() to R 1.8.1. This gave R and R users an explicit Lisp-style quasiquotation capability. bquote() and quasiquotation are actually quite powerful....

Read more »

Exploring college major and income: a live data analysis in R

October 16, 2018
By
Exploring college major and income: a live data analysis in R

I recently came up with the idea for a series of screencasts: I've thought about recording a screencast of an example data analysis in #rstats. I'd do it on a...

Read more »

Even more images as x-axis labels

October 16, 2018
By
Even more images as x-axis labels

This is the last update to this strange saga… I hope. Easily two of the most popular posts on my blog are this one and this one describing a...

Read more »

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...

Read more »

Modifying Excel Files using openxlsx

October 15, 2018
By

I’ve been creating several output tables for a paper, which I usually store as sheets in an Excel file, since my collaborators are entirely in the Microsoft Office ecosystem. One issue...

Read more »

RStudio 1.2 Preview: Stan

October 15, 2018
By
RStudio 1.2 Preview: Stan

We previously discussed improved support in RStudio v1.2 for SQL, D3, Python, and C/C++. Today, we’re excited to announce improved support for the Stan programming language. The Stan programming...

Read more »

WoRkshop in ToRonto

October 15, 2018
By

Petros and his colleagues at DARTH have organised a workshop on Decision Modeling in R, in Toronto (Canada) — the exact dates are 5-7 December 2018. Here’s Petros’ original advert We...

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 »

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.