Learn R Programming

DLMtool (version 5.1.3)

joinMSE: Join multiple MSE objects together

Description

Joins two or more MSE objects together. MSE objects must have identical number of historical years, and projection years.

Usage

joinMSE(MSEobjs = NULL)

Arguments

MSEobjs

A list of MSE objects. Must all have identical operating model and MPs. MPs which don't appear in all MSE objects will be dropped.

Value

An object of class MSE

Examples

Run this code
# NOT RUN {
OM1 <- DLMtool::testOM
MSE1 <- runMSE(OM1) 
OM2 <- OM1 
OM2@seed <- OM1@seed + 1
MSE2 <- runMSE(OM2)
MSE <- joinMSE(list(MSE1, MSE2))
MSE@nsim
# }

Run the code above in your browser using DataLab