Eclipse – an alternative to RStudio – part 2

July 29, 2016
By
Eclipse – an alternative to RStudio – part 2

In part one of this tutorial, I showed how to install R and LaTeX for Eclipse. Sadly, Eclipse doesn’t yet know where to find these resources, so we need to configure it appropriately. Statet provides a wizard to walk you through the setup, but I find the wizard difficult to follow. However, we can set Related Post

Read more »

Interactive Subsetting Exercises

July 29, 2016
By
Interactive Subsetting Exercises

The function, “subset()” is intended as a convienent, interactive substitute for subsetting with brackets. subset() extracts subsets of matrices, data frames, or vectors (including lists), according to specified conditions. Answers to the exercises are available here. Exercise 1 Subset the vector, “mtcars“, for values greater than “15.0“. Exercise 2 Subset the dataframe, “mtcars” for rows

Read more »

Troubles with cell labels in mosaic plots… and how to solve them.

July 29, 2016
By
Troubles with cell labels in mosaic plots… and how to solve them.

Today I want to write about a solution to a quite specific problem. Suppose, you want to label cells in your 'vcd' package mosaic plots in a custom way. For example, we might want to use cell labels which indicate "too much" or "too few" cases (given your expected values). Such labels might be "+" and "-" (and maybe...

Read more »

RcppGetconf 0.0.1

July 28, 2016
By

A new package RcppGetconf to read system configuration --- not unlike getconf from the libc library. Now R can read what system calls sysconf, pathconf and confstr have to say. The package is still pretty green, and now on CRAN in a very first versio...

Read more »

A Gallery of ggplot2 Extensions

July 28, 2016
By
A Gallery of ggplot2 Extensions

A couple of months ago, I announced the ggplot2-extensions website which tracks and lists extensions built on top of the popular R visualization package ggplot2. Now, I wanted to make it even easier for R users to filter and search for these extensions and so I have added a Gallery page. You can now search

Read more »

2016-10 A transformable markup document format

July 28, 2016
By

Many technologies now exist for writing a document in a format that can be transformed into various output formats for sharing. This report proposes that using markup, rather than one of the Markdown languages, is a good fit for writing … Continue reading →

Read more »

Visualizing the Gender of US Senators With R and Highmaps

July 28, 2016
By
Visualizing the Gender of US Senators With R and Highmaps

I wake up every morning in a house that was built by slaves (Michelle Obama) Some days ago I was invited by the people of Highcharts to write a post in their blog. What I have done is a simple but revealing map of women senators of the United States of America. Briefly, this is … Continue...

Read more »

What can we learn from the statistics of the EURO 2016 – Application of factor analysis

July 28, 2016
By
What can we learn from the statistics of the EURO 2016 – Application of factor analysis

In this post I will try to explain how to perform a factor analysis (FA) on the statistics of the teams in the first round of Euro cup 2016. Meanwhile, I assume that you have enough background on the theory of FA and so I will just stick with the application of this technique. Wikipedia Related Post

Read more »

Tracking Precipitation by Day-of-Year

July 28, 2016
By
Tracking Precipitation by Day-of-Year

Plotting cumulative day-of-year precipitation can helpful in assessing how the current year’s rainfall compares with long term averages. This plot shows the cumulative rainfall by day-of-year for Philadelphia International Airports rain gauge. The source data was downloaded from the Pa … Continue reading →

Read more »

An R Users Guide to JSM 2016

July 28, 2016
By

by Joseph Rickert My impression is that the JSM has become ever more R friendly over recent years, but with two sessions organized around R tools and several talks featuring R packages, this year may turn out to be the beginning of a new era where conference organizers see value in putting R on the agenda and prospective speakers...

Read more »

Building a Life Table

July 28, 2016
By
Building a Life Table

After writing my previous post, Mortality by Year and Age, I’ve become progressively more interested in the mortality data. Perhaps those actuaries are onto something? I found this report, which has a wealth of pertinent information. On p. 13 the report gives details on constructing a Life Table, which is one of the fundamental tools The post

Read more »

A link that can tell more than dozens of lines of R code – what’s new in archivist?

July 28, 2016
By
A link that can tell more than dozens of lines of R code – what’s new in archivist?

Can you spot the difference between this plot: And this one: You are right! The latter has an embedded piece of R code. What for? It’s a call to a function aread from archivist – a package that manages external copies of R objects. This piece of code was added by the function addHooksToPrint(), that … Czytaj...

Read more »

Correlation network_plot() with corrr

July 28, 2016
By
Correlation network_plot() with corrr

Looking for patterns or clusters in your correlation matrix? Spot them quickly using network_plot() in the latest development version of the corrr package! # Install the development version of corrr install.packages("devtools") devtools::install_github("drsimonj/corrr") library(corrr) airquality %>% correlate() %>% network_plot(min_cor = .1) From this, we can instantly see how the variables are clustering, and glean the signs...

Read more »

Round values while preserve their rounded sum in R

July 27, 2016
By

After an embarrassing teleconference in which I presented a series of percentages that did not sum to 100 (as they should have), I found some R code on stackoverflow.com to help me to avoid this in the future. In general, the sum of rounded numbers (e.g., using the base::round function) is not the same as … Continue...

Read more »

Bayesian Essentials with R [book review]

July 27, 2016
By
Bayesian Essentials with R [book review]

“Overall this book is a very helpful and useful introduction to Bayesian methods of data analysis. I found the use of R, the code in the book, and the companion R package, bayess, to be helpful

Read more »

Data Journalism with R at FiveThirtyEight

July 27, 2016
By
Data Journalism with R at FiveThirtyEight

Since it expanded its focus from predicting the US election, FiveThirtyEight has emerged as a prominent source of in-depth data journalism, with data-driven analysis of media, culture, politics and society. A recent feature combined CDC and independent data sources to break down the nearly 34,000 gun deaths in the US in 2014 by cause of death and the gender,...

Read more »

Book Review: Getting Started With Data Science

July 27, 2016
By

I PROGRAMMER's Kay Ewbank's reviews Getting Started with Data Science: Making Sense of Data with Analytics.By Kay EwbankIf you've enjoyed books such as Freakonomics or Outliers, you'll feel at home reading this book as it uses a similar approach; take an interesting question such as 'Does the higher price of cigarettes deter smoking?', and...

Read more »

Data Science Competitions 101: Anatomy and Approach

July 27, 2016
By
Data Science Competitions 101: Anatomy and Approach

I recently participated in a weekend-long data science hackathon, titled ‘The Smart Recruits’. Organized by the amazing folks at Analytics Vidhya, it saw some serious competition. Although my performance can be classified as decent at best (47 out of 379 participants), it was among the more satisfying ones I have participated in on both AV (profile) and Kaggle (profile)...

Read more »

U.S. Drought Animations with the “Witch’s Brew” (purrr + broom + magick)

July 27, 2016
By
U.S. Drought Animations with the “Witch’s Brew” (purrr + broom + magick)

This is another purrr-focused post but it’s also an homage to the nascent magick package (R interface to ImageMagick) by @opencpu. We’re starting to see/feel the impact of the increasing drought up here in southern Maine. I’ve used the data from the U.S. Drought Monitor before on the blog, but they also provide shapefiles and... Continue reading...

Read more »

New chapters for 50 shades of grey….

July 27, 2016
By
New chapters for 50 shades of grey….

Introduction Some time ago I had the honor to follow an interesting talk from Tijmen Blankevoort on neural networks and deeplearning. Convolutional and recurrent neural networks were topics that already caught my interest and this talk inspired me to dive into … Continue reading →

Read more »

Reproducible art with R

July 27, 2016
By
Reproducible art with R

This is my tribute to the fantastic R package spatstat. All the artwork was 100% done in R, the source code is here. Click the images for hi-res (6000 x 4000) versions. License: This is a public domain work. Feel free to do absolutely whatever you want with the code … Continue reading →

Read more »

Notes from the 4th R in Insurance Conference

July 27, 2016
By
Notes from the 4th R in Insurance Conference

The 4th R in Insurance conference took place at Cass Business School London on 11 July 2016. This one-day conference focused once more on the wide range of applications of R in insurance, actuarial science and beyond. The conference programme covered t...

Read more »

Voting clusters in the U.N.

July 26, 2016
By
Voting clusters in the U.N.

After some more digging, and a suggestion by @theMexIndian I decided to see more in the depth the unvotes database that I wrote about some weeks ago. This time, amit suggested I do some hierarchical clustering of the votes. So here goes a very dirty first attempt… Data and setup Nothing too impressive here… (for a discussion of the package,...

Read more »

2016-09 An Introduction to the ‘DOM’ Package

July 26, 2016
By

The ‘DOM’ package for R provides functions to dynamically manipulate the content of a web page that is being viewed within a web browser. The package provides an R interface that is analogous to the DOM (Document Object Model) functions … Continue reading →

Read more »

Stock prices analysis part 1 exercises

July 26, 2016
By

In this set of exercises we are using R to analyse stock prices. This is the first part where we exercise basic descriptive statistics. You dont need to be an expert stock trader in order to understand examples. Where needed, additional explanations will be provided. All examples will be based on real historical data acquired

Read more »

R and openMP: boosting compiled code on multi-core cpu-s

July 26, 2016
By
R and openMP: boosting compiled code on multi-core cpu-s

Share This: Introduction Sometimes you just need more speed. And sometime plain R does not provide it. This article is about boosting your R code with C++ and openMP. OpenMP is a parallel processing framework for shared memory systems. This is an excellent way to use all the cpu cores that are sitting, and often

Read more »

Update on the R Shapefile Contest

July 26, 2016
By
Update on the R Shapefile Contest

This is a reminder that the R Shapefile Contest ends this Friday, July 29! We already have four incredible entries: Kent Johnson looked at the Cambridge Outdoor... The post Update on the R Shapefile Contest appeared first on AriLamstein.com.

Read more »

Use quick formula functions in purrr::map (+ base vs tidtyverse idiom comparisons/examples)

July 26, 2016
By

I’ve converted the vast majority of my *apply usage over to purrr functions. In an attempt to make this a quick post, I’ll refrain from going into all the benefits of the purrr package. Instead, I’ll show just one thing that’s super helpful: formula functions. After seeing this Quartz article using a visualization to compare... Continue reading...

Read more »

New: Traditional Chinese Translation of Intro to R

July 26, 2016
By
New: Traditional Chinese Translation of Intro to R

New Free Course: Introduction to R in Traditional Chinese The DataCamp team is thrilled to announce that our Introduction to R course has been generously translated by our friend and DataCamp user Tony Yao-Jen Kuo to Traditional Chinese! Tony holds a...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.