Nothing
cohort <-
function(year, age, reset=F){
n <- length(year); k <- length(age)
stx <- year[1]-age[k]
ft <- gl(n, k)
ret <- array(year[ft]-age, dim=c(k,n), dimnames=list(age, year))
if (reset) ret-stx+1 else ret
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.