Learn R Programming

JointNets (version 2.0.1)

F1.simule: computes F1 score for jointnet result

Description

computes F1 score for jointnet result

Usage

# S3 method for simule
F1(result, simulatedgraphs, ...)

Arguments

result

output generated from any one of the jointnet algorithms

simulatedgraphs

$simulatedgraphs from function simulation()

...

unused

Examples

Run this code
# NOT RUN {
library(JointNets)
simulationresult = simulation(p = 20,  n = c(100,100))
truth = simulationresult$simulatedgraphs
result = simule(simulationresult$simulatedsamples, 0.2, 0.5, covType = "cov", FALSE)
F1(result,truth)
# }

Run the code above in your browser using DataLab