Skip to content

Commit

Permalink
Add Rpubs link to Winston's study
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Apr 11, 2018
1 parent a4f7d67 commit 0cc9e2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wch.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions wch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0cc9e2d

Please sign in to comment.