propkc: Proportion size in MSDem

View source: R/propkc.r

propkcR Documentation

Proportion size in MSDem

Description

This function allows you to calculate population size by sex or by regions using the MSDem output

Usage

propkc(
  resX = res,
  period = NULL,
  agel = 0,
  ageu = "max",
  byage = FALSE,
  sex = NULL,
  bysex = FALSE,
  reg = NULL,
  byreg = FALSE,
  resi = NULL,
  byresi = FALSE
)

Arguments

period

specific periods - default is NULL

agel

lower limit - default is 0

ageu

upper limit - default it 'max'

sex

specific sex - default is NULL

bysex

group by sex - default is FALSE

reg

specific region(s)

byreg

group by regions - default is FALSE

resi

specific residence(s)

byresi

group by residences - default is FALSE

res1

data

Value

R list with five data.table 1) var_def 2) state_space 3) mig_dom 4) mig_int 5) results


kcsamir/mdpop documentation built on Feb. 16, 2025, 7:48 a.m.