Publications by isr

HTML

27.06.2024

...

3 sym

HTML

27.06.2024

...

3 sym

HTML

27.06.2024

...

3 sym

How to embed a Gist in Tumblr

09.09.2012

Here, both for the sake of posterity, as well as example, is an embedded Gist that describes how to embed a Gist in Tumblr: https://gist.github.com/1395926 Related To leave a comment for the author, please follow the link and comment on their blog: is.R(). R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R ...

544 sym

Etymology

16.09.2012

Chris and I started this blog as an outlet for the work we were already doing every day: writing code and trying to avoid forgetting how we wrote it. To that end, gist.github.com is an extremely useful resource, and this blog allows us to add a little bit of context to our own public Gist repositories. I convinced Chris to let us call the blog is...

1087 sym

Embedding \(\LaTeX\) in Tumblr

18.09.2012

The classic Pythagorean identity is:  \(sin^2(\theta) + cos^2(\theta) =1 \) The binomial formula which calculates the probability of obtaining k tails when flipping a coin n times, with a assumed probability p for each trial is: \( P(E)   = {n \choose k} p^k (1-p)^{ n-k} \) Finally, the normal (Gaussian) distribution defined by mean \(\mu\) and...

989 sym

Side note…

18.09.2012

MathJax allows you to customize how \( \LaTeX \) is displayed. Simply right click over the math you’d like to see to access the display menu. Under “math settings” you can see zoom trigger and factor options. Given how small the text may seem, I prefer the hover option with a zoom of 175%. Related To leave a comment for the author, please...

679 sym

Converting an R object to text, with dput()

20.09.2012

We’ve already briefly covered making a reproducible example, but I thought I’d go a little more in-depth on the very helpful function dput(). Whenever I am having trouble applying an operation to some R object, and need help, but want to avoid the potential hassle of transferring files and code to another person’s computer, I look to make a...

908 sym

Compactly display the structure of an arbitrary R object

21.09.2012

As you advance in your R use past “canned” functions and packages made by others, you may want to take information from one R object for use in another. For example, you may want to estimate a linear model, then use the results of that estimation to: Use coefficient values and the variance-covariance matrix to simulate from the model, Visuali...

1366 sym

Simple visually-weighted regression plots

24.09.2012

There has recently been a lot of discussion of so-called “visually-weighted regression” plots. Folk hero Hadley Wickham suggests that such plots would be easy to implement with ggplot2, and so I have attempted to prove him right. The approach outlined in the following Gist would be easy to apply to any situation in which you have a matrix of ...

860 sym 2 img