expand_with_variable.dpp_degree_cpt: Expands a conditional probability table for degrees with an...

Description Usage Arguments Value Author(s)

Description

Takes the conditional probability table for degrees passed as a parameter, and adds to columns the combinations of existing values and the novel variable values. For instance if the columns where a=1 and a=2, and you add name=b and values=list(3,4), the columns will be a=1,b=3 a=1,b=4 a=2,b=3 a2,b=4

Usage

1

Arguments

cpt

a conditional probability table for degrees

name

a string

values

a list of values

Value

the CPT with additional columns minus the original columns

Author(s)

Samuel Thiriot <samuel.thiriot@res-ear.ch>


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.