[ADMB Users] 3d ragged array with RE
sibert at hawaii.edu
Wed Feb 8 13:51:00 PST 2012
I'm guessing that the appropriate allocate functions was never written.
It should be fairly straightforward to modify the allocate function for
a non-ragged 3d array.
There were some problems with the redmine server. Johnoel set up an
alternative, but all the accounts were lost. I think you have to request
a membership or something.
On 02/08/2012 08:45 AM, Mollie Brooks wrote:
> Thanks Hans,
> I'll try to figure out how to work around it.
> My redmine account also seems to not be working at the moment. Maybe redmine is broken.
> On 8 Feb 2012, at 3:09 AM, H. Skaug wrote:
>> You are probably right: 3d ragged arrays are not implemented for random effects.
>> I have never tried, but it would be nice if things works uniformly across the
>> RE and non-RE versions.
>> Can you create a Redmine issue (my account is not working at the moment).
>> On Wed, Feb 8, 2012 at 1:24 AM, Mollie Brooks<mbrooks at ufl.edu> wrote:
>>> I was running a model without any random effects and it was working fine. Now I need to change it to include random effects.
>>> I'm getting an error on the line where I used to be able to allocate a 3d ragged array.
>>> This is the error
>>> pond.cpp:765: error: no matching function for call to 'df1b23array::allocate(int, data_int&, int, data_int&, int, data_ivector&, const char )'
>>> This is the line in the cpp file
>>> This seems to be the line in the tpl file
>>> 3darray tk_minus_b(1,nponds,1,ndays,1,nobs)//(p,b,k)
>>> nobs is an ivector with length=nponds
>>> Are ragged arrays not available with random effects?
>>> Mollie Brooks
>>> Ph.D. Candidate
>>> NSF IGERT Fellow
>>> Biology Department
>>> University of Florida
>>> mbrooks at ufl.edu
>>> Users mailing list
>>> Users at admb-project.org
> Users mailing list
> Users at admb-project.org
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Visit the ADMB project http://admb-project.org/
More information about the Users