View source: R/network_evaluation.R
| calculate_precision | R Documentation | 
Calculates precision metric
calculate_precision(network_table, ground_truth)
| network_table | A data frame of predicted network structure | 
| ground_truth | A data frame of ground truth network | 
A list containing the metric
data("example_matrix")
data("example_ground_truth")
network_table <- inferCSN(example_matrix)
calculate_precision(
  network_table,
  example_ground_truth
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.