Andrea Maxie | 18 Mar 2009 18:40
Picon

Re: burst function in liker and kernelbb


Dear Clement,

Sorry for the long delay in my reply - I was out doing field work and did
not have time to investigate the code you provided.  But, yes, that is
exactly what I was hoping for.  It seems to work great for my data, however
I do have a small problem when trying to get the UD volume.

You wrote:

Clément Calenge-2 wrote:
> 
> 
> ## Then, if you want to compute the volume:
> UDv <- getvolumeUDs(UDt)
> 
> 

Using the data I provided previously and the code you provided, I get the
following output when running

####
UDv <- getvolumeUD(UDt)   ##is think the 's' in getvolumeUDs(UDt) above was
a typo?

Error in getvolumeUD(UDt) : 
  x should be an object of class "khrud" or "kbbhrud"
#####

I'm not sure how do deal with this. Do you know why this error is caused and
(Continue reading)

Andrea Maxie | 19 Mar 2009 14:31
Picon

Re: burst function in liker and kernelbb


Dear Clement,

The error I described actually occurs when using the corrected function
(getvolumeUD) to get the volume of the weighted averaged UD (UDt).

Andrea Maxie wrote:
> 
> Using the data I provided previously and the code you provided, I get the
> following output when running
> 
> ####
> UDv <- getvolumeUD(UDt) 
> 
> Error in getvolumeUD(UDt) : 
>   x should be an object of class "khrud" or "kbbhrud"
> #####
> 
> 

Best regards,

Andrea
--

-- 
View this message in context: http://www.nabble.com/burst-function-in-liker-and-kernelbb-tp21593626p22600267.html
Sent from the AniMov mailing list archive at Nabble.com.
Andrea Maxie | 19 Mar 2009 15:13
Picon

Re: burst function in liker and kernelbb


Dear Clement,

Unfortunately I get this error  "Error: could not find function
"getvolumeUDs"" using that function.  I had tried this before, and so
thought the 's' was just a typo...  Is there something else I need to
install to get that function to work?

Thanks again,

Andrea

Andrea Maxie wrote:
> 
> Dear Clement,
> 
> The error I described actually occurs when using the corrected function
> (getvolumeUD) to get the volume of the weighted averaged UD (UDt).
> 
> 
> Andrea Maxie wrote:
>> 
>> Using the data I provided previously and the code you provided, I get the
>> following output when running
>> 
>> ####
>> UDv <- getvolumeUD(UDt) 
>> 
>> Error in getvolumeUD(UDt) : 
>>   x should be an object of class "khrud" or "kbbhrud"
(Continue reading)

clement.calenge | 19 Mar 2009 16:49
Picon
Favicon

Re: burst function in liker and kernelbb


 > Unfortunately I get this error  "Error: could not find function
 > "getvolumeUDs"" using that function.  I had tried this before, and so
 > thought the 's' was just a typo...  Is there something else I need to
 > install to get that function to work?

Yes, it is time to update! The function is not available in the older
version of adehabitat (it is only available from the version 1.8.1 if
I remember correctly). see ?update.packages

Clément
--

-- 
Clément CALENGE
Office national de la chasse et de la faune sauvage
Saint Benoist - 78610 Auffargis
tel. (33) 01.30.46.54.14
Andrea Maxie | 19 Mar 2009 17:17
Picon

Re: burst function in liker and kernelbb

Oh dear, indeed it is!  I thought I was up-to-date, but apparently not.

Thanks for your patience!  Everything is working fine now.

Kind regards,

Andrea




--
Andrea Maxie
M.Sc. Candidate
Environmental & Life Sciences Graduate Program
Trent University
Peterborough, Ontario
T: (705)755-1287

_______________________________________________
AniMov mailing list
AniMov@...
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov
clement.calenge | 19 Mar 2009 14:53
Picon
Favicon

Re: burst function in liker and kernelbb

Dear Andrea,

 > The error I described actually occurs when using the corrected function
 > (getvolumeUD) to get the volume of the weighted averaged UD (UDt).
 > 
 > 
 > Andrea Maxie wrote:
 > > 
 > > Using the data I provided previously and the code you provided, I get the
 > > following output when running
 > > 
 > > ####
 > > UDv <- getvolumeUD(UDt) 
 > > 
 > > Error in getvolumeUD(UDt) : 
 > >   x should be an object of class "khrud" or "kbbhrud"
 > > #####

Oooops sorry I replied a bit quickly this morning (I way away the last
two weeks, and had a lot of mail to reply, so that I did not pay
enough attention to your first mail). Actually, getvolumeUDs *is* the
correct function to use (so eventually, there was no typo in the
original code): it allows to compute the volume under the UD when an
object of class asc is passed as an argument (getvolumeUD requires an
object of class "khrud" or "kbbhrud", i.e. an object returned by the
functions kernelUD or kernelbb, which is not your case, as you have
yourself combined several UDs).
Best regards,

Clément
--

-- 
Clément CALENGE
Office national de la chasse et de la faune sauvage
Saint Benoist - 78610 Auffargis
tel. (33) 01.30.46.54.14
clement.calenge | 19 Mar 2009 08:47
Picon
Favicon

Re: burst function in liker and kernelbb

Dear Andrea,

 > ####
 > UDv <- getvolumeUD(UDt)   ##is think the 's' in getvolumeUDs(UDt) above was
 > a typo?
 > 
 > 
 > Error in getvolumeUD(UDt) : 
 >   x should be an object of class "khrud" or "kbbhrud"
 > #####

Yes, it is indeed a typo, the correct function being getvolumeUD.
Best regards,

Clément
--

-- 
Clément CALENGE
Office national de la chasse et de la faune sauvage
Saint Benoist - 78610 Auffargis
tel. (33) 01.30.46.54.14

Gmane