ScoreHypothesis: score hypothesis

Description Usage Arguments Value Examples

View source: R/ScoreHypothesis.r

Description

Score a single hypothesis, using the predictions from the network and the experimental data returning a vector of scoring statistics

Usage

1
ScoreHypothesis(matrixOfPredictions, matrixOfExperimentalData)

Arguments

matrixOfPredictions

a matrix of predictions

matrixOfExperimentalData

a matrix of experimentaldata

Value

scoreBreakdown a vector giving, in order, the overall score, and the numbers of correct, incorrect and ambigous predictions

Examples

1
2
3
4
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)

CausalR documentation built on Nov. 8, 2020, 5:25 p.m.