Skip to content

Instantly share code, notes, and snippets.

Michael Hoffman michaelmhoffman

Block or report user

Report or block michaelmhoffman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@michaelmhoffman
michaelmhoffman / bioc2018.md
Last active Jul 26, 2018 — forked from jxtx/bioc2018.md
#bioC 2018 Conference Notes
View bioc2018.md
@michaelmhoffman
michaelmhoffman / README.md
Created Dec 29, 2015 — forked from lindenb/README.md
sort KML for @michaelhoffman https://twitter.com/michaelhoffman/status/681959184573661185 sort each Placemark inside each Folder on key=styleUrl
View README.md

##Usage:

xsltproc transform.xsl doc.kml

Test

$ xsltproc transform.xsl doc.kml |grep -E '(Folder|styleUrl)' | head
@michaelmhoffman
michaelmhoffman / simulation.R
Created Aug 18, 2015
Is R^2 for five datapoints > 0.8?
View simulation.R
set.seed(2015-08-17)
sum(as.integer(lapply(seq(1000), function(i) summary(lm(y ~ x, list(y = runif(5), x = runif(5))))$r.squared > 0.8)))/1000
You can’t perform that action at this time.