Skip to content

Instantly share code, notes, and snippets.

@carsten-j
carsten-j / figurer
Created May 21, 2014 18:04
Figurer til noterne i Grundlæggende livsforsikringsmatematik (Liv1)
require(ggplot2)
require(eha)
library(ggplot2)
library(eha)
alpha = 5.0 * (10.0 ** -4.0)
beta = 7.5858 * (10.0 ** -5.0)
gamma = log (1.09144)
GompertzMakeham <- function(xvar) {