June 2017

Quantile Regression in R exercises

June 5, 2017 | Bassalat Sajjad

The standard OLS (Ordinary Least Squares) model explains the relationship between independent variables and the conditional mean of the dependent variable. In contrast, quantile regression models this relationship for different quantiles of the dependent variable. In this exercise set we will use the quantreg package (package description: here) to implement ... [Read more...]

There is usually more than one way in R

June 5, 2017 | John Mount

Python has a fairly famous design principle (from “PEP 20 — The Zen of Python”): There should be one– and preferably only one –obvious way to do it. Frankly in R (especially once you add many packages) there is usually more than one way. As an example we will talk about the ... [Read more...]

ANOVA in R: afex may be the solution you are looking for

June 5, 2017 | Henrik Singmann

Prelude: When you start with R and try to estimate a standard ANOVA , which is relatively simple in commercial software like SPSS, R kind of sucks. Especially for unbalanced designs or designs with repeated-measures replicating the results from such software in base R may require considerable effort. For a newcomer (...
[Read more...]

R⁶ — Scraping Images To PDFs

June 5, 2017 | hrbrmstr

I’ve been doing intermittent prep work for a follow-up to an earlier post on store closings and came across this CNN Money “article” on it. Said “article” is a deliberately obfuscated or lazily crafted series of GIF images that contain all the Radio Shack impending store closings. It’s ... [Read more...]

Powe[R] BI: Free e-book on using R with Power BI

June 5, 2017 | David Smith

A new (and free!) e-book on extending the capabilities of Power BI with R is now available for download, from analytics consultancy BlueGranite. The introduction to the book explains why R and Power BI are a great match together: As a specialized, open source statistical environment, R represents the primary ... [Read more...]

Weather forecast with regression models – part 2

June 5, 2017 | Giorgio Garziano

In the first part, I introduced the weather dataset and outlining its exploratory analysis. In the second part of our tutorial, we are going to build multiple logistic regression models to predict weather forecast. Specifically, we intend to produce the following forecasts: tomorrow’s weather forecast at 9am of the ... [Read more...]

Shiny app to explore ggplot2

June 5, 2017 | Pawel Kapuscinski

Do you struggle with learning ggplot2? Do you have problems with understanding what aesthetics actually do and how manipulating them change your plots? Here is the solution! Explore 33 ggplot2 geoms on one website! I created this ggplot2 explorer to help all R learners to understand how to plot beautiful/useful ...
[Read more...]

Unconf projects 1: skimr, emldown, testrmd, webrockets

June 5, 2017 | Karthik Ram

Following up on Stefanie's recap of unconf 17, we are following up this entire week with summaries of projects developed at the event. We plan to highlight 4-5 projects each day, with detailed posts from a handful of teams to follow. skimr Summary: skimr, a package inspired by Hadley Wickham's precis ...
[Read more...]

Unconf recap 1

June 5, 2017 | Karthik Ram

Following up on Stefanie's recap of unconf 17, we are following up this entire week with summaries of projects developed at the event. We plan to highlight 4-5 projects each day, with detailed posts from a handful of teams to follow. skimr Summary: skimr, a package inspired by Hadley Wickham's precis ...
[Read more...]

2017 Fantasy Football Projections

June 4, 2017 | Isaac Petersen

We are releasing our 2017 fantasy football projections in a Shiny webapp using R.  The app allows you to calculate custom rankings/projections for your league based on your league settings.[...] The post 2017 Fantasy Football Projections appeared first on Fantasy Football Analytics.
[Read more...]

The Many-Faced Future

June 4, 2017 | JottR on R

The future package defines the Future API, which is a unified, generic, friendly API for parallel processing. The Future API follows the principle of write code once and run anywhere - the developer chooses what to parallelize and the user how and where. The nature of a future is such ... [Read more...]

Packaging the TheyWorkForYou API

June 4, 2017 | Will

TheyWorkForYou is a great website for keeping up with British politics and one of the many fine things mySociety does to make democracy in the UK more transparent. There’s also an API, accessible via http and wrapped up for a few languages. However, R is not amongst them, so ... [Read more...]

Data Visualization with googleVis exercises part 1

June 4, 2017 | Euthymios Kasvikis

Line, Bar and Column Charts Hello everybody! This is the first part of an exciting data visualization series r exercises.com is going to provide you. Data visualization involves the creation and study of the visual representation of data. The increasing amounts of data created by Internet activity make the “... [Read more...]

R summary() got better!

June 4, 2017 | John Mount

Here is a really nice feature found in the current 3.4.0 version of R: summary() has become a lot more reasonable. summary(15555) # Min. 1st Qu. Median Mean 3rd Qu. Max. # 15555 15555 15555 15555 15555 15555 Please read on for some background. In older versions of R (say R 3.3.1) the above code … Continue reading R summary() got ... [Read more...]

RcppArmadillo 0.7.900.2.0

June 4, 2017 | Thinking inside the box

The new RcppArmadillo release 0.7.900.2.0 is now on CRAN, and the Debian package was just updated as well. Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use wit... [Read more...]

Linking R to IQFeed with the QuantTools package

June 4, 2017 | The R Trader

IQFeed provides streaming data services and trading solutions that cover the Agricultural, Energy and Financial marketplace. It is a well known and recognized data feed provider geared toward retail users and small institutions. The subscription price starts at around $80/month. Stanislav Kovalevsky has developed a package called QuantTools. It is ... [Read more...]

Quick illustration of Metropolis and Metropolis-in-Gibbs Sampling in R

June 3, 2017 | BioStatMatt

The code below gives a simple implementation of the Metropolis and Metropolis-in-Gibbs sampling algorithms, which are useful for sampling probability densities for which the normalizing constant is difficult to calculate, are irregular, or have high dimension (Metropolis-in-Gibbs). ## Metropolis sampling ## x - current value of Markov chain (numeric vector) ## targ - ... [Read more...]

datazar

June 3, 2017 | xi'an

A few weeks ago and then some, I [as occasional blogger!] got contacted by datazar.com to write a piece on this data-sharing platform. I then went and checked what this was all about, having the vague impression this was a platform where I could store and tun R codes, ... [Read more...]
1 12 13 14 15 16

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)