I have developed code that calculates a value for a given set of parameters, this works for a single set of parameters.
library(spatstat) library(ggplot2) lib