plot.demogdata and
fitting an LC or BMS model using lca or an FDA model using fdm.read.demogdata(file, popfile, type, label, max.mx = 10, skip = 2,
popskip = skip, lambda)file.popfile.rate but containing population numbers instead of demographic rates.popfile contains the
Exposures and file contains the Mx rates from the HMD, then everything will work seamlessly.demogdatanorway <- read.demogdata("Mx_1x1.txt", "Exposures_1x1.txt",
type="mortality", label="Norway")Run the code above in your browser using DataLab