Learn R Programming

CausalR (version 1.4.3)

AnalysePredictionsList: analyse predictions list

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

AnalysePredictionsList(predictionsList, numPredictions)

Arguments

predictionsList
list of predictions
numPredictions
number of predictions

Value

prediction statistics

Examples

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

Run the code above in your browser using DataLab