I'm trying to load data from the Human Mortality Database. forecast, and plot the Lee-Carter model. This involves the demography package. I keep getting an error of unexpected symbol every time I put another command in which is weird. Is there any fix?
Here is an example of what I'm talking about