Add all the hypotheses related to a group of events

hypothesis.add.group(
  x,
  FUN,
  group,
  pattern.cause = "*",
  pattern.effect = "*",
  dim.min = 2,
  dim.max = length(group),
  min.prob = 0,
  silent = FALSE
)

Arguments

x

A TRONCO compliant dataset.

FUN

Type of pattern to be added, e.g., co-occurance, soft or hard exclusivity.

group

Group of events to be considered.

pattern.cause

Possibile causes for the pattern.

pattern.effect

Possibile effects for the pattern.

dim.min

Minimum cardinality of the subgroups to be considered.

dim.max

Maximum cardinality of the subgroups to be considered.

min.prob

Minimum probability associated to each valid group.

silent

A parameter to disable/enable verbose messages.

Value

A TRONCO compliant object with the added hypotheses