ratetable
by adding a new dimension.joinrate(tables,dim.name="country")
dimnames
.ratetable
.ratetable
objects by adding a new dimension. The cutpoints of all the
rate tables are compared and only the common intervals kept. If the intervals defined by the cutpoints are not of
the same length, a warning message is displayed. Each rate table must have 3 dimensions, i.e. age, sex and year
(the order is not important).ratetable
, transrate.hld
, transrate.hmd
, transrate
.data(ratetables)
newpop <- joinrate(list(Arizona=survexp.az,Florida=survexp.fl,Minnesota=survexp.mn),dim.name="state")
Run the code above in your browser using DataLab