1066 search results for "RStudio"

Updated dplyr Examples

September 28, 2014
By
Updated dplyr Examples

Over the summer I made two posts about using the dplyr package.  The first was an example of the dplyr verbs applied to fish data.  The second was an example of modifications that I had made to lencat() to work better … Continue reading →

Read more »

Packrat presentation at useR! 2014

September 26, 2014
By

There comes a time in a software toolchain’s lifecycle where the focus shifts from developer...

Read more »

Installing dplyr 0.3 on Mac OS X (Mavericks)

September 25, 2014
By

UPDATE Per the author, a devtools::install_github("hadley/devtools") should take care of everything you need prior to installing the latest dplyr (though I did not have postgres libs installed and suspect that might still be needed). The R dplyr package just turned 0.3 and to get it working in my development environment (OS X Mavericks) I had to do the following: brew install postgresql...

Read more »

Joint Models for Longitudinal and Survival Data

September 25, 2014
By
Joint Models for Longitudinal and Survival Data

What are joint models for longitudinal and survival data? In this post we will introduce in layman's terms the framework of joint models for longitudinal and time-to-event data. These models are applied in settings where the sample units are followed-up in time, for example, we may be interest in patients suffering...

Read more »

Seeing the (day)light with R

September 23, 2014
By
Seeing the (day)light with R

The arrival of the autumnal equinox foreshadows the reality of longer nights and shorter days here in the northeast US. We can both see that reality and distract ourselves from it at the same time by firing up RStudio (or your favorite editor) and taking a look at the sunrise & sunset times based on

Read more »

How to publish R and ggplot2 to the web

September 23, 2014
By
How to publish R and ggplot2 to the web

by Matt Sundquist, Plotly Co-founder It's delightfully smooth to publish R code, plots, and presentations to the web. For example: Shiny makes interactive apps from R. Pretty R highlights R code for HTML. Slidify makes slides from R Markdown. Knitr and RPubs let you publish R Markdown docs. GitHub and devtools let you quickly release packages and collaborate. Now,...

Read more »

Hands-on dplyr tutorial for faster data manipulation in R

September 23, 2014
By
2014-09-23 18_21_48-Clipboard

I love dplyr. It's my "go-to" package in R for data exploration, data manipulation, and feature engineering. I use dplyr because it saves me time: its performance is blazing fast on data frames, but even more importantly, I can write dplyr code faster ...

Read more »

testthat 0.9

September 23, 2014
By
testthat 0.9

testthat 0.9 is now available on CRAN. Testthat makes it easy to turn the informal testing that you’re already doing into formal automated tests. Learn more at http://r-pkgs.had.co.nz/tests.html This version of testthat has four important new features that bring testthat up to speed with unit testing frameworks in other languages: You can skip() tests with

Read more »

“Do You Want to Steal a Snowman?” – A Look (with R) At TorrentFreak’s Top 10 PiRated Movies List #TLAPD

September 18, 2014
By
“Do You Want to Steal a Snowman?” – A Look (with R) At TorrentFreak’s Top 10 PiRated Movies List #TLAPD

We leave the Jolly Roger behind this year and turn our piRate spyglass towards the digital seas and take a look at piRated movies as seen through the lens of TorrentFreak. The seasoned seadogs who pilot that ship have been doing a weekly “Top 10 Pirated Movies of the Week” post since early 2013, and...

Read more »

The Traveling Salesman with Simulated Annealing, R, and Shiny

September 17, 2014
By
The Traveling Salesman with Simulated Annealing, R, and Shiny

I built an interactive Shiny application that uses simulated annealing to solve the famous traveling salesman problem. You can play around with it to create and solve your own tours at the bottom of this post. Here's an animation of the annealing process finding the shortest path through the 48 state capitals of the contiguous...

Read more »