update_data.table: Store fit results in data.tables

Description Usage Arguments

View source: R/loop_utils.R

Description

Store fit results in data.tables

Usage

1
2
update_data.table(model_dt, marg_dt, row, fit, model_idxs, covariates_in,
  covariates_out)

Arguments

model_dt

Data table to store model probability and model frequency

marg_dt

Data table to store marginal inclusion probabilities

row

Row of the data.table to modify

fit

Result of [mombf::modelSelection()]

model_idxs

String containing the indexs of the model whose details have to be stored

covariates_in

Array with covariate names (as named in mombf's xstd)

covariates_out

Array with covariate names (as named in marg_dt)


OriolAbril/mombftron documentation built on July 28, 2020, 1:15 a.m.