Forecast, Automatic Routines vs. Experience

March 18, 2015
By
Forecast, Automatic Routines vs. Experience

This morning, in our Time Series course, we’ve been playing with some data I got from google.ca/trends/. Actually, we’ve been playing on some old version, downloaded 18 months ago (discussed in a previous post, in French). > urls = "http://freakonometrics.free.fr/report-headphones-2015.csv" > report=read.table( + urls,skip=4,header=TRUE,sep=",",nrows=585) > tail(report) Semaine headphones 580 2015-02-08 - 2015-02-14 53 581 2015-02-15 - 2015-02-21 52 582...

Read more »

Seven Ways You Can Use A Linear, Polynomial, Gaussian, & Exponential Line Of Best Fit

March 18, 2015
By
Seven Ways You Can Use A Linear, Polynomial, Gaussian, & Exponential Line Of Best Fit

A line of best fit lets you model, predict, forecast, and explain data. This post shows how you can use a line of best fit to explain college tuition, rats, turkeys, burritos, and the NHL draft. Read on or see our tutorials for more. Contact us if you’re interested in a trial of plotly on-premise....

Read more »

shinyData – GUI for data analysis and reporting

March 18, 2015
By
shinyData – GUI for data analysis and reporting

Some people find very hard to start using R because it has no GUI. There exists some GUIs which offers some of the functionality of R. In this post I would like to focus on one such GUI, a very new shiny application called shinyData. I hope the app will make it easier for some to get into R environment. Also...

Read more »

Making waffle charts in R (with the new ‘waffle’ package)

March 18, 2015
By
Making waffle charts in R (with the new ‘waffle’ package)

My disdain for pie charts is fairly well-known, but I do concede that there are times one needs to communicate parts of a whole graphically verses using just words or a table. When that need arises, I’m partial to “waffle charts” or “square pie charts”. @eagereyes did a great post a while ago on them

Read more »

Growing some Trees

March 18, 2015
By
Growing some Trees

Consider here the dataset used in a previous post, about visualising a classification (with more than 2 features), > MYOCARDE=read.table( + "http://freakonometrics.free.fr/saporta.csv", + header=TRUE,sep=";") The default classification tree is > arbre = rpart(factor(PRONO)~.,data=MYOCARDE) > rpart.plot(arbre,type=4,extra=6) We can change the options here, such as the minimum number of observations, per node > arbre = rpart(factor(PRONO)~.,data=MYOCARDE, + control=rpart.control(minsplit=10)) > rpart.plot(arbre,type=4,extra=6) or...

Read more »

Analyze LinkedIn with R

March 18, 2015
By
Analyze LinkedIn with R

 If you have any questions to this tutorial or find some problems please feel free to create a topic in the forum: http://thinktostart.com/forums/forum/questions-tutorials/analyze-linkedin-with-r/ Some time ago I saw an interesting post in a R... The post Analyze LinkedIn with R appeared first on ThinkToStart.

Read more »

Updated checkpoint package: faster reproducibility with more feedback

March 18, 2015
By

A new version of the checkpoint package for R has just been released on CRAN. With the checkpoint package, you can easily: Write R scripts or projects using CRAN package versions from a specific point in time; Share R scripts with others that will automatically install the appropriate package versions (no need to manually install CRAN packages); Write R...

Read more »

the vim cheat sheet

March 18, 2015
By
the vim cheat sheet

Filed under: Kids, Linux, R, University life, Wines Tagged: An Evil Guest, editor, unix, vim

Read more »

Dark themes for writing

March 17, 2015
By
Dark themes for writing

I spend much of my day sitting in front of a screen, coding or writing. To limit the strain on my eyes, I use a dark theme as much as possible. That is, I write with light colored text on a dark background. I don’t know why this is not the default in more software

Read more »

Finding Similar European Soccer Clubs (with R & Shiny)

March 17, 2015
By
Finding Similar European Soccer Clubs (with R & Shiny)

Are you a die-hard supporter of one European soccer (football) team (club)? Having a rough season, or just want to watch more matches with passion?This European Team Finder analyzed 126 attributes of the top-flight teams in the marquee n...

Read more »

How Fantasy Football is Like Stock Picking (Including a Shiny App)

March 17, 2015
By
How Fantasy Football is Like Stock Picking (Including a Shiny App)

In this post, I compare fantasy football to stock picking.  There are important lessons we can learn from financial forecasting that can be applied to forecasting football players’ performance. Fantasy Football The post How Fantasy Football is Like Stock Picking (Including a Shiny App) appeared first on Fantasy Football Analytics.

Read more »

Some thoughts on Vim

March 17, 2015
By
Some thoughts on Vim

by Gary R. Moser Director of Institutional Research and Planning The California Maritime Academy I recently contacted Joseph Rickert about inviting Vim guru Drew Niel (web: vimcasts.org, book: "Practical Vim: Edit Text at the Speed of Thought") to speak at the Bay Area R User Group group. Due to Drew's living in Great Britain that might not be easily...

Read more »

Changes to Von B Growth Modeling in FSA

March 17, 2015
By
Changes to Von B Growth Modeling in FSA

In previous versions of FSA, growthModelSim() was used to produce a scatterplot of length-age data with a von Bertalanffy model superimposed where the parameters of the model were linked to slider bars that allowed the model to be dynamically changed … Continue reading →

Read more »

R in Insurance: Abstract submission closes end of March

March 17, 2015
By
R in Insurance: Abstract submission closes end of March

Hurry! The abstract submission deadline for the 3rd R in Insurance conference in Amsterdam, 29 June 2015 is closing soon. You have until the 28th of March to submit a one-page abstract for consideration. Both academic and practitioner proposals related...

Read more »

Part 3b: EDA with ggplot2

March 16, 2015
By
Part 3b: EDA with ggplot2

In Part 3a I have introduced the plotting system ggplot2. I talked about its concept and syntax with some detail, and then created a few general plots, using the weather data set we've been working with in this series of tutorials. My goal was to show ...

Read more »

dplyr Use Cases: Non-Interactive Mode

March 16, 2015
By

The current release of dplyr (v 0.4.1) offers lot more flexibility regarding usage of important verbs in non-interactive mode. In this post, I'm exploring different possible use-cases.group_by_, select_, rename_:For group_by_, select_ and rename_,...

Read more »

Updated directions on building 64-bit Rblas using OpenBLAS for R 3.2

March 16, 2015
By

I’ve updated the directions as to how to build 64-bit R for Windows linking to OpenBLAS, as the entire R build process for Windows will change for R version 3.2 and subsequent. I’ve turned it into a static page, instead of a post, in case the build process changes again. While the title has 3.2 Read the full...

Read more »

Installing Geomorph and R by Source

March 16, 2015
By

Since we started having a beta version of geomorph on GitHub, we understand that installation has become a little bit more complex. We were also aware of the issues for Mac Snow Leopard users.I have written a detailed summary of how to install geomorph...

Read more »

One-proportion z test in R

March 16, 2015
By
One-proportion z test in R

For quite a while, I’ve been confused by the behavior of the prop.test function in R: 1) the p-values always seem to be slightly off, and 2) the confidence intervals never seem to be

Read more »

Helping Your Organization Migrate to R

March 16, 2015
By
Helping Your Organization Migrate to R

by Bob Muenchen As the R programming environment has grown in capability and popularity, so have the number of organizations planning to migrate to it from proprietary tools. I’ve helped members of various organizations transition from SAS, SPSS and/or Stata to R (see Workshop … Continue reading →

Read more »

Israel’s 2015 election polls’ analysis with Shiny + ggplot2

March 16, 2015
By
Israel’s 2015 election polls’ analysis with Shiny + ggplot2

(This is a guest post by my friend Yoni Sidi, a PhD candidate in statistics at the Hebrew University) Background The Israeli elections are coming up this Tuesday, 17/3/2015 (i.e.: tomorrow!). They are a bit more complicated than your average US presidential race. The elections in Israel are based on nationwide proportional representation. The electoral … Continue reading...

Read more »

The impact of open source software on the data science revolution

March 16, 2015
By

It's hard to overstate the role of open-source software in the data science revolution. Tools like Hadoop, Spark, R, and Python are essential parts of the modern data science toolkit. These tools are likewise part of the solutions built by the Consulting Services group at Revolution Analytics. Our VP of Professional Services, Neera Talbert, shares her view on the...

Read more »

The World We Live In #4: Marriage Ages

March 16, 2015
By
The World We Live In #4: Marriage Ages

It is time for women to stop being politely angry (Leymah Gbowee, Nobel Prize Peace Winner) Sometimes very simple plots give insight into we live in a world of differences. This plot shows the mean age at marriage for men and women across countries: Being a woman in some countries of this world must be a … Continue reading...

Read more »

DAVID functional analysis with clusterProfiler

March 16, 2015
By
DAVID functional analysis with clusterProfiler

clusterProfiler was used to visualize DAVID results in a paper published in BMC Genomics. Some users told me that they may want to use DAVID at some circumstances. I think it maybe a good idea to make clusterProfiler supports DAVID, so that DAVID users can use visualization functions provided by clusterProfiler. Read More: 1642 Words...

Read more »

Short R tutorial: Scraping Javascript Generated Data with R

March 15, 2015
By
Short R tutorial: Scraping Javascript Generated Data with R

When you need to do web scraping, you would normally make use of Hadley Wickham’s rvest package. This package provides an easy to use, out of the box solution to fetch the html code that generates a webpage. However, when the website or webpage makes use of JavaScript to display the data you’re interested in, The post

Read more »

An introduction to ggplot with Myfanwy Johnston

March 15, 2015
By
An introduction to ggplot with Myfanwy Johnston

Last week at the Davis R Users’ Group, Myfanwy Johnston gave an introduction to to the powerful and ubiquitous ggplot2 package for plotting in R. See below for the screencast and her particularly enlightening figure of how ggplot’s syntax and conceptual approach. Myfanwy also placed all her slides, code, and links to more ggplot resources...

Read more »

Simple Lower US 48 Albers Maps & Local (no-API) City/State Geocoding in R

March 15, 2015
By
Simple Lower US 48 Albers Maps & Local (no-API) City/State Geocoding in R

I’ve been seeing an uptick in static US “lower 48″ maps with “meh” projections this year, possibly caused by a flood of new folks resolving to learn R but using pretty old documentation or tutorials. I’ve also been seeing an uptick in folks needing to geocode US city/state to lat/lon. I thought I’d tackle both

Read more »

Medicines under evaluation

March 15, 2015
By

While browsing through the internet I ran into the medicines under evaluation page of the European Medicines Agency. There was a .pdf for each month and I thought it would be interesting to look if I could analyze those data. Each .pdf contains various...

Read more »

littler 0.2.3

March 14, 2015
By
littler 0.2.3

A new minor release of littler is available now. It adds or extends a number of things: added support for drat by adding a new example installDrat.r; the install.r, install2.r and check.r scripts now use getOption("repos") to set the default repos; this works well with drat and multiple repos set via, e.g. ~/.littler.r or...

Read more »