N <- 20000
t <- 80000
t1 <- demog_test(N, t, 1, age_of_death, equilibrium_age)
plot(tapply(t1$deaths, rep(1:800, each = 100), sum), t = "l")
for(i in 1:10){
t1 <- demog_test(N, t, 1, age_of_death, equilibrium_age)
lines(tapply(t1$deaths, rep(1:800, each = 100), sum), t = "l", col = rainbow(10)[i])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.