سؤال

I'm using R demography package to study Mauritian population. However, I'm having some problem with pop.sim function as I can't figure out how the mid year population must be entered? Can anyone give me an example please?

هل كانت مفيدة؟

المحلول

The help file is rather brief (sorry about that). The first year population should be part of a demogdata object. The example at the end of the help page on pop.sim should help. It requires the addb package which is available from http://robjhyndman.com/software/addb/.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top