Hello, Someone know how can I plot two ltraj (2 different animals) in the same graph? thanks Caro
adehabitatLT
2 messages · Carolina Massa, Mathieu Basille
5 days later
[I'm resending my answer since it didn't make it to the list]
Hi Carolina,
Please check my package 'hab' [1]. I refined 'plot.ltraj' there to allow
for better control for the user. I believe it can be used to do what you
want. See for instance the following example:
library(hab)
data(puechcirc)
plot(puechcirc, by = "none")
plot(puechcirc, by = "none", ppar = list(col = c(CH930824 = "blue",
CH930827 = "blue", JE930827 = "red"), pch = 20), lpar = list(col =
c(CH930824 = "blue", CH930827 = "blue", JE930827 = "red")))
You will find other useful examples in the help page of the function.
Hope this helps!
Mathieu.
[1] https://github.com/basille/hab
Le 14/04/2016 06:17, Carolina Massa a ?crit :
Hello, Someone know how can I plot two ltraj (2 different animals) in the same graph? thanks Caro
_______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
Mathieu Basille basille at ufl.edu | http://ase-research.org/basille +1 954-577-6314 | University of Florida FLREC ? Le tout est de tout dire, et je manque de mots Et je manque de temps, et je manque d'audace. ? ? Paul ?luard