Skip to contents

Creates a trans_preds_t table based on the relationships between transitions and predictors. This function establishes which predictors are useful for modelling each transition type.

Usage

as_trans_preds_t(x)

# S3 method for class 'trans_preds_t'
print(x, nrow = 10, ...)

Arguments

nrow

see data.table::print.data.table

...

passed to data.table::print.data.table

db

An evoland_db instance with populated trans_meta_t and pred_meta_t tables

Value

A data.table of class "trans_preds_t" with columns:

  • id_pred: Foreign key to pred_meta_t

  • id_trans: Foreign key to trans_meta_t

Methods (by generic)

  • print(trans_preds_t): Print a trans_preds_t object, passing params to data.table print