Skip to contents

Set of simple commonsense validity checks on the data.df and data.dists arguments

Usage

check.valid.data(data.df = NULL, data.dists = NULL, group.var = NULL)

Arguments

data.df

data frame with names corresponding to variable/node names.

data.dists

list specifying each columns distribution type. Names correspond to column names and values must be one of "gaussian", "binomial", "poisson", "multinomial".

group.var

not yet implemented

Value

list of indexes for each distribution type

a list of the indexes for each distribution type