#===============================================================================
# 2017 02 18 - BTL
# Extracted from compute_solutions_scores.R
#===============================================================================
#-------------------------------------------------------------
# Test code - will extract and re-enable later
#-------------------------------------------------------------
# 2015 05 17 - BTL
# Test code part 1: i.e., start of a function wrapper for the EFs
# build_confusion_matrix <- function (num_PUs,
# num_PUs_in_optimal_solution,
# num_PUs_in_marxan_solution,
# frac_spp_covered,
# input_err_FP = 0,
# input_err_FN = 0
# )
# {
#-------------------------------------------------------------
#-------------------------------------------------------------
# Test code - will extract and re-enable later
#-------------------------------------------------------------
# 2015 05 17 - BTL
# Test code part 2: i.e., end of a function wrapper for the EFs
# plus a test call to that function
# }
#
# num_PUs = 100
# num_PUs_in_marxan_solution = 25
# num_PUs_in_optimal_solution = 90
# frac_spp_covered = 0.3
# input_err_FP = 0.1
# input_err_FN = 0.01
#
# build_confusion_matrix (num_PUs,
# num_PUs_in_optimal_solution,
# num_PUs_in_marxan_solution,
# frac_spp_covered,
# input_err_FP,
# input_err_FN)
#===============================================================================
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.