Learn R Programming

abn (version 3.1.1)

get.var.types: Create ordered vector with integers denoting the distribution

Description

gaussian = 1, binomial = 2, poisson = 3, multinomial = 4

Usage

get.var.types(data.dists = NULL)

Value

numeric encoding of distribution corresponding to its list element number in data.dists.

Arguments

data.dists

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