Explain: explain

explainR Documentation

explain

Description

Sets an explanatory relation between a set of propositions and a phenomenon. If more than one proposition is used the edge weight will be reduced accordingly.

Usage

explain(Explanation, Explanandum, matrix, weight = 1)

Arguments

Explanation

Vector of Explanations that explain the Explanadum

Explanandum

A proposition or phenomenon that is explained

matrix

Matrix of Explanatory relations that is modified

weight

Strength of connection (i.e., quality of explanation)

Value

Returns the explanatory matrix with the edge weights modified according to the specified explanation

Examples

# simple example comparing two hypotheses one of them with more explanatory breadth##
T1 <- c("H1", "H2")
Phenomena <- c("E1", "E2")
Thresholds <- c(2,2)
explanations <- initializeNetwork(Phenomena, T1)
explanations <- explain("H1", "E1", explanations)
explanations <- explain("H1", "E2", explanations)
explanations <- explain("H2", "E2", explanations)
explanations <- contradict("H1", "H2", explanations)
coherence <- computeIMEC(explanations, Thresholds, Phenomena, T1)
summary(coherence)
plot(coherence)

MaxMaier42/IMEC documentation built on Oct. 30, 2022, 2:28 a.m.