CompareHypothesis {CausalR}R Documentation

compare hypothesis

Description

Compare the predictions from a hypothesis with the experimental data returning an matrix with columns for node ID, predictions, experimental results and the corresponding scores.

Usage

CompareHypothesis(matrixOfPredictions, matrixOfExperimentalData, ccg = NULL,
  sourceNode = NULL)

Arguments

matrixOfPredictions

a matrix of predictions

matrixOfExperimentalData

a matrix of experimental data

ccg

a CCG network (default=NULL)

sourceNode

A starting node (default=NULL)

Value

a matrix containing predictions, observations and scores.

Examples

predictions <- matrix(c(1,2,3,+1,0,-1),ncol=2)
experimentalData <- matrix(c(1,2,4,+1,+1,-1),ncol=2)
ScoreHypothesis(predictions,experimentalData)
CompareHypothesis(predictions,experimentalData)

[Package CausalR version 1.26.0 Index]