makeMeanMP: Create an MP that averages the results of multiple MPs

Description Usage Arguments Value Note Author(s) Examples

View source: R/MPs_Mixed.R

Description

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.

Usage

1

Arguments

MPs

A vector of MPs names

Value

A function of class MP

Note

See relevant section of the DLMtool User Guide for more information.

Author(s)

A. Hordyk

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

## End(Not run)

DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.