This function takes a character string of MP names and returns
a function of classMP
that calculates the average of the management recommendations
from the individual MPs.
makeMeanMP(MPs)
A vector of MPs names
A function of class MP
# NOT RUN {
MeanMP <- makeMeanMP(c("AvC", "DCAC"))
MSE <- runMSE(DLMtool::testOM, MPs=c("AvC", "DCAC", "MeanMP"))
Tplot2(MSE)
MeanMP <- makeMeanMP(c("matlenlim", "matlenlim2"))
Data <- DLMtool::SimulatedData
matlenlim(1, Data)
matlenlim2(1, Data)
MeanMP(1, Data)
# }
Run the code above in your browser using DataLab