April 2018

How to Plot With Metricsgraphics

April 13, 2018 | Euthymios Kasvikis

Introduction to Metricsgraphics Metricsgraphics is an htmlwidget interface to the MetricsGraphics.js JavaScript/D3 chart library. Installation devtools::install_github(“hrbrmstr/metricsgraphics”) Usage Building metricsgraphics charts follows the “piping” idiom, made popular through the magrittr, ggvis and dplyr packages. This makes it possible to avoid one giant function with a ... [Read more...]

Tutorial – make population pyramids with Queensland data

April 13, 2018 | Home

In this tutorial I will use Queensland population data already downloaded from the Australian Bureau of Statistics (ABS), and rearrange the data to produce population pyramids using ggplot. The population pyramid is one of the most popular methods to visualise population age structure. The method constructs a chart with each ... [Read more...]

Does Congress Really Care About Your Privacy?

April 13, 2018 | hrbrmstr

I apologize up-front for using bad words in this post. Said bad words include “Facebook”, “Mark Zuckerberg” and many referrals to entities within the U.S. Government. Given the topic, it cannot be helped. I’ve also left the R tag on this despite only showing some ggplot2 plots and ...
[Read more...]

Goodbye Google, Hello Tiingo!

April 13, 2018 | Joshua Ulrich

First, the bad news:Google Finance no longer provides data for historical prices or financial statements, so we say goodbye to getSymbols.google() and getFinancials.google(). (#221)  They are now defunct as of quantmod 0.4-13.Now, the good news:Th... [Read more...]

burglr – stealing code from the web

April 13, 2018 | André Bleier

Introduction All we do at STATWORX all day long is stealing code from the web. That is why I thought it would only be fair to code a function which does that conveniently. With burglr you have all functions and kickass machine learning models at your fingertips. This would have ...
[Read more...]

L is for Latent Variable Path Analysis

April 13, 2018 |

LVPAFor the letter F, I introduced the lavaan package with confirmatory factor analysis. You may have noticed, during my video on interpreting output that there are two functions for analysis: cfa and sem. When the model you specify is a confirmatory factor analysis, it doesn't really matter which of these ...
[Read more...]

K-Means Clustering in R – Exercises

April 13, 2018 | sindri

K-means is efficient, and perhaps, the most popular clustering method. It is a way for finding natural groups in otherwise unlabeled data. You specify the number of clusters you want defined and the algorithm minimizes the total within-cluster variance. In this exercise, we will play around with the base R ...
[Read more...]

Is that a BMW or a Peugeot?

April 13, 2018 | Longhow Lam

Introduction My son is 8 years old and he has shown a lot of interest in cars, which is strange because I have zero interest in cars. But he is driving me crazy when we have a car ride: “dad … Continue reading →
[Read more...]

DALEX Stories – Warsaw apartments

April 13, 2018 | smarterpoland

This Monday we had a machine learning oriented meeting of Warsaw R Users. Prof Bernd Bischl from LMU gave an excellent overview of mlr package (machine learning in R), then I introduced DALEX (Descriptive mAchine Learning EXplanations) and Mateusz Staniak introduced live and breakDown packages. The meeting pushed me to ... [Read more...]

ggplot2: Legend – Part 6

April 12, 2018 | Rsquared Academy Blog

Introduction This is the 18th post in the series Elegant Data Visualization with ggplot2. In the previous post, we learnt how to modify the legend of plot when alpha is mapped to a categorical variable. In this post, we will learn to modify legend title label and bar So far, ...
[Read more...]

Extending DT child rows example

April 12, 2018 | reigo.eu

Short description of R package DT from its website: The R package DT provides an R interface to the JavaScript library DataTables. R data objects (matrices or data frames) can be displayed as tables on HTML pages, and DataTables provides filtering, pagination, sorting, and many other features in the tables. ... [Read more...]

How do I interpret the AIC

April 12, 2018 | Bluecology blog

How do I interpret the AIC? My student asked today how to interpret the AIC (Akaike’s Information Criteria) statistic for model selection. We ended up bashing out some R code to demonstrate how to calculate the AIC for a simple GLM (general linear model). I always think if you ... [Read more...]

.rprofile: Noam Ross

April 12, 2018 | rOpenSci - open tools for open science

Dr. Noam Ross [@noamross on Twitter] is a disease ecologist at EcoHealth Alliance in NYC, as well as an editor for rOpenSci. Topics of discussion included Noam’s history with R and rOpenSci, working in a team-driven research environment, and inspirations for pushing research processes and rOpenSci projects in exciting ...
[Read more...]

Math expressions in R plots

April 12, 2018 | kjytay

Did you know that you can include math expressions in your text annotations of figures in R? This webpage has an excellent tutorial on how to do so. In essence, you can put your plot label (with some syntax) in … Continue reading →
[Read more...]

The case for R, for AI developers

April 12, 2018 | David Smith

I had a great time this week at the Qcon.ai conference in San Francisco, where I had the pleasure of presenting to an audience of mostly Java and Python developers. It's unfortunate that videos won't be available for a while, because there were some amazing presentations: those by Matt ... [Read more...]

cdata Update

April 12, 2018 | John Mount

The R package cdata now has version 0.7.0 available from CRAN. cdata is a data manipulation package that subsumes many higher order data manipulation operations including pivot/un-pivot, spread/gather, or cast/melt. The record to record transforms are specified by drawing a table that expresses the record structure (called the “...
[Read more...]

K is for Cohen’s Kappa

April 12, 2018 |

Last April, during the A to Z of Statistics, I blogged about Cohen's kappa, a measure of interrater reliability. Cohen's kappa is a way to assess whether two raters or judges are rating something the same way. And thanks to an R package called irr, it's very easy to compute. ...
[Read more...]

Convert epub to Text for Processing in R

April 12, 2018 | hrbrmstr

@RMHoge asked the following on Twitter: Hello #rstats hyve mind! Is there a package that reads epub into R? I can not find any, I now convert to text and parse the text but you sort of lose the structure of the text. Pinging @dataandme @hrbrmstr — Roel (@RMHoge) April 12, 2018 Here’...
[Read more...]
1 7 8 9 10 11 15

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)