[R-sig-eco] as.ltraj in adehabitat

Stéphane Dray dray at biomserv.univ-lyon1.fr
Fri Mar 27 16:01:19 CET 2009


Juliane,
it seems that you have two relocations observed at the same time. 
Without details (e.g., what did you type in R), it is difficult to give 
you a more precised answer.

Cheers.

Struve, Juliane wrote:
> Dear list,
>
> I am trying to convert a dataframe into an ltraj object and have a hard time defing the burst argument. The data consist of locations, dates and  time for only one individual (id=1646). An example is given below. The individual may have been seen several times during one day at several different locations. When I try to convert the dataframe I get error message
>
> Error in as.ltraj(track_1646, date, id, burst, typeII = TRUE, slsp = c("remove",  :
>   non unique dates for a given burst
> Would somebody be able to help ?
>
> Thank you very much for your time.
>
> Juliane
>
>
> X       Y       date    id      burst   Time    ID      VR2number
> -82.5632        27.303  18/08/2006      1646    1646    08:48:59        64      32
> -82.5605        27.30237        18/08/2006      1646    1646    09:53:20        63      30
> -82.5632        27.303  18/08/2006      1646    1646    13:27:48        121     32
> -82.5737        27.31475        18/08/2006      1646    1646    20:39:18        91      33
> -82.5445        27.27731        05/09/2006      1646    1646    22:17:52        3243    19
> -82.5356        27.2716 05/09/2006      1646    1646    23:29:38        16319   20
> -82.5445        27.27731        08/09/2006      1646    1646    23:34:30        3904    19
> -82.5356        27.2716 09/09/2006      1646    1646    02:39:48        25023   20
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>
>
>   

-- 
Stéphane DRAY (dray at biomserv.univ-lyon1.fr )
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I
43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France
Tel: 33 4 72 43 27 57       Fax: 33 4 72 43 13 88
http://pbil.univ-lyon1.fr/members/dray/



More information about the R-sig-ecology mailing list