<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Joachim,<br>
<br>
(although you're sitting right next to me here at the IPM-course in
Bergen, Norway, let's send our solution to the users email list
anyway)<br>
In order to make a Cmatrix (clonality) that does have an extra row
and column for the discrete seedbank stage (even though no new
clonal individual enter the seedbank stage), you could specify when
you use 'makeClonalObj' that
'offspringSplitter=data.frame(seedbank=0,continuous=1)'. This way
the dimensions of the Cmatrix will match that of your Pmatrix and
Fmatrix.<br>
<br>
thanks for your question!<br>
Eelke<br>
<br>
<br>
<div class="moz-cite-prefix">On 01/09/14 11:16, Joachim Töpper
wrote:<br>
</div>
<blockquote cite="mid:000001cfc5c5$762418a0$626c49e0$@bio.uib.no"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EpostStil17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi master-IPMers!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a model with a
clonalObj AND a dto for a seedbank (in addition to the
“classic” surv, growth and fec stuff). When trying to run
sensparams() I get an error message (Error in
.Primitive("+")(<a class="moz-txt-link-abbreviated" href="mailto:e1@.Data">e1@.Data</a>, <a class="moz-txt-link-abbreviated" href="mailto:e2@.Data">e2@.Data</a>) : non-conformable
arrays)…and I believe this is because the matrix-dimensions
issued from the clonalObj (that doesn’t “know” about the
seedbank!) for the Cmatrix are different (one bin less…the
seedbank) from the Pmatrix and Fmatrix. When constructing my
own model I have so far simply added an empty bin to the
Cmatrix manually, but how do I go about when wanting to use
sensparams()? Change the function code so that it adds my
extra bin? Or is it possible to tell makeClonalObj() about
the presence of a discrete stage so that the Cmatrix ends up
with the right dimensions in the first place?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks and cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Joachim<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
IPMpack-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPMpack-users@lists.r-forge.r-project.org">IPMpack-users@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/ipmpack-users">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/ipmpack-users</a>
</pre>
</blockquote>
<br>
</body>
</html>