[Ipmpack-users] (no subject)
Eelke Jongejans
e.jongejans at science.ru.nl
Thu Oct 9 10:50:22 CEST 2014
Hi Joachim,
(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)
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.
thanks for your question!
Eelke
On 01/09/14 11:16, Joachim Töpper wrote:
>
> Hi master-IPMers!
>
> 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("+")(e1 at .Data, e2 at .Data) : 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?
>
> Thanks and cheers,
>
> Joachim
>
>
>
> _______________________________________________
> IPMpack-users mailing list
> IPMpack-users at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/ipmpack-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/ipmpack-users/attachments/20141009/6678515b/attachment.html>
More information about the IPMpack-users
mailing list