AnalysePredictionsList: analyse predictions list

Description Usage Arguments Value Examples

View source: R/AnalysePredictionsList.r

Description

Taking the list of predictions from a particular hypothesis, counts the number of positive and negative predictions in the list and the number of 0's (from numPredictions).

Usage

1
AnalysePredictionsList(predictionsList, numPredictions)

Arguments

predictionsList

list of predictions

numPredictions

number of predictions

Value

prediction statistics

Examples

1
2
3
4
network <- system.file(package='CausalR', 'extdata', 'testNetwork.sif')
ccg <- CreateCCG(network)
predictions <- MakePredictions('NodeA', +1, ccg, 2)
AnalysePredictionsList(predictions,8)

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