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
_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov

Reply via email to