Permalink
Browse files

Add Rpubs link to Winston's study

  • Loading branch information...
jennybc committed Apr 10, 2018
1 parent a4f7d67 commit 0cc9e2d83d0bda7933340d8b09dd46ce84b7d891
Showing with 4 additions and 0 deletions.
  1. +2 −0 wch.Rmd
  2. +2 −0 wch.md
@@ -12,6 +12,8 @@ knitr::opts_chunk$set(collapse = TRUE, comment = "#>", cache = TRUE)

[Source](https://gist.github.com/wch/0e564def155d976c04dd28a876dc04b4) for this document.

[RPub](https://rpubs.com/wch/200398) for this document.

@dattali [asked](https://twitter.com/daattali/status/761058049859518464), "what's a safe way to iterate over rows of a data frame?" The example was to convert each row into a list and return a list of lists, indexed first by column, then by row.

A number of people gave suggestions on Twitter, which I've collected here. I've benchmarked these methods with data of various sizes; scroll down to see a plot of times.
2 wch.md
@@ -10,6 +10,8 @@ output:

[Source](https://gist.github.com/wch/0e564def155d976c04dd28a876dc04b4) for this document.

[RPub](https://rpubs.com/wch/200398) for this document.

@dattali [asked](https://twitter.com/daattali/status/761058049859518464), "what's a safe way to iterate over rows of a data frame?" The example was to convert each row into a list and return a list of lists, indexed first by column, then by row.

A number of people gave suggestions on Twitter, which I've collected here. I've benchmarked these methods with data of various sizes; scroll down to see a plot of times.

0 comments on commit 0cc9e2d

Please sign in to comment.