Evan Martin (evan) wrote in evan_tech,
Evan Martin

lattice is keen

I use R at work quite a bit. I'm not especially happy with the language (it has the tendency to do confusing type coercions right when I least expect it) but it's the best option I've yet found. Though I'd poked around at their "Lattice" package before I finally actually skimmed the Trellis docs today and it makes a bunch more sense now.

Here's the backstory: S had an existing graphics system that does your standard plotting (histograms, scatter, box'n'whisker, etc.), and then the Bell labs people came by and made a new, incompatible system called "Trellis". (In the clone mirror world where S is called R, it's called "Lattice".) The only non-reference docs for Lattice are the Trellis ones, but those are the docs you ought to read.

Your reward for reading this post are these cool infovis stories, which motivate Trellis.
The barley experiment was run in the 1930s. The data first appeared in a 1934 report published by the experimenters. Since then, the data have been analyzed and re-analyzed. [...] Then in the early 1990s, the data were visualized by Trellis Graphics. The result was a big surprise. Through 60 years and many analyses, an important happening in the data had gone undetected.
I get a weird thrill out of the thought that a different visualization of data can reveal new aspects to it.

(I also discovered today that a Cairo backend for R exists, and is actually in Debian, but it hasn't made its way to Dapper yet. I guess I have to live with these hideous fonts a while longer...)

  • your vcs sucks

    I've been hacking on some Haskell stuff lately that's all managed in darcs and it's reminded me of an observation I made over two years ago now (see…

  • ghc llvm

    I read this thesis on an LLVM backend for GHC, primarily because I was curious to learn more about GHC internals. The thesis serves well as an…

  • found my bug!

    Not too interesting, but this has been bugging me for a week. Been working on a toy program that proxies a TCP connection. It was working fine for…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.