Articles by Isomorphismes

Tibshirani’s original paper on the lasso. Breiman’s…

December 6, 2012 | Isomorphismes

Tibshirani’s original paper on the lasso. Breiman’s Garotte — 1993 Tibshirani lasso paper submitted — 1994 Tibshirani lasso paper revised — 1995 Tibshirani lasso paper accepted — 1996 This is one of those papers that I’m so excited about, I feel like “You should just read the whole thing! It’s all good!” But I ... [Read more...]

What’s the difference between POSIXct and POSIXlt?

November 21, 2012 | Isomorphismes

POSIXct is the signed number of seconds since “the epoch”. For example it was 1351298112 UTC (GMT) when I wrote this. (1351298112 UTC = Sat Oct 27, 2:35 am GMT = Fri Oct 26, 8:35 pm EST = Fri Oct 26, 5:35 pm PST = 2:35 pm HST) POSIXlt is one of many text | character | string formats such as: May 17, 2017 17/5/2017 17-5-17 05:24:39 [Read more...]

Outer Product of Character Vectors in R

July 19, 2012 | Isomorphismes

What follows is like a kata to strengthen your R fundamentals. The lovely stats in the wild recently posted some hott data analysis of Olympians’ ages and sexes. Because I’m annoyingly picky about graphics, I asked for his code so I could ... [Read more...]

Bare-bones intro to Plotting options in R

March 21, 2012 | Isomorphismes

If you’re using base::plot in R for the first time (for example if you do plot(pima) or plot(faithful) (use ??pima if you can’t find the dataset)) you may have looked at ?plot (2 page help file) or ?par (12 page help file) to figure out what’s ... [Read more...]

Earthquakes

November 30, 2011 | Isomorphismes

__ data(quakes)__ head(quakes) lat long depth mag stations 1 -20.42 181.62 562 4.8 41 2 -20.62 181.03 650 4.2 15 3 -26.00 184.10 42 5.4 43 4 -17.97 181.66 626 4.1 19 5 -20.42 181.96 649 4.0 11 6 -19.6... [Read more...]

Hey! I made you some Wiener processes!

September 7, 2011 | Isomorphismes

Check them out. Here are thirty homoskedastic ones: __ homo.wiener for (j in 1:30) {  for (i in 2:length(homo.wiener)) {          homo.wiener[i,j] for (j in 1:30) {        plot( homo.wiener[,j],           type = "l", col = rgb(.1,.... [Read more...]
1 2 3

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)