Nothing
create.Lexis.matrix <-
function(HMD.dataset, Sex="Female", minage=50,
maxage=100, minyear=1950, maxyear=2011) {
reduced.dataset <- HMD.dataset[HMD.dataset$Year >= minyear &
HMD.dataset$Year <= maxyear &
HMD.dataset$Age >= minage &
HMD.dataset$Age <= maxage,
c("Year", "Age", Sex)]
Lexis.matrix <- tapply(X=reduced.dataset[[Sex]],
INDEX=list(Age=reduced.dataset$Age,
Year=reduced.dataset$Year),
FUN=sum)
return(Lexis.matrix)
}
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.