<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear all,<br>
<br>
I am working on an forecast for a FLStock object using the fwd()
method.<br>
I use the latest Versions of R (3.1.2), FLCore and FLash.<br>
<br>
My FLStock object contains several iterations and I want to use
individual targets (TACs) for each iteration.<br>
The problem is, that I cannot figure out how to access the iter
dimension in the fwdControl object:<br>
<br>
When I just enter several values, only the last value is used for
all iterations:<br>
<font face="Courier New, Courier, monospace">>library(FLAsh)<br>
>ctrl <- fwdControl(data.frame(year = 1, quantity = "catch",
val = c(<b>100,200</b>))<br>
>ctrl<br>
Target<br>
year quantity min val max<br>
1 1 catch NA 100 NA<br>
2 1 catch NA 200 NA<br>
<br>
min val max<br>
1 NA 100 NA<br>
2 NA 200 NA</font><br>
<br>
also here only one iter is created:<br>
<font face="Courier New">>ctrl@trgtArray</font><br>
<font face="Courier New, Courier, monospace">, , <b>iter = 1</b><br>
<br>
min val max<br>
1 NA 100 NA<br>
2 NA 200 NA</font><br>
<br>
<br>
So my question is how I can access the iter dimension of
fwdControl(), if that is even possible.<br>
<br>
<br>
Best regards<br>
Simon<br>
<br>
<font color="#999999"><small><small>______________________________________<br>
Simon Fischer<br>
MSc. student<br>
Institute for Hydrobiology and Fisheries Science,<br>
University of Hamburg<br>
</small></small></font><br>
</body>
</html>