CADF_to_migration_model {CADF}R Documentation

CADF_to_migration_model converts CADF data to migration model data

Description

Builds transition matrix for a migration model. T is the maximum time cutoff which defaults to 5. The output will be a transition matrix.

Usage

CADF_to_migration_model(cadf.data, maxT = 5)

Arguments

cadf.data

Data in R list format processed by CADF functions

maxT

If time is greater than maxT it will be converted into a + category

Examples

tmatrix <- CADF_to_migration_model(cadf.data.sample)

[Package CADF version 0.1 Index]