[R] Trouble with first passage time analysis using adehabitatLT

zlong xanthro_m at hotmail.com
Sun Oct 28 17:06:19 CET 2012


I was able to answer a few of my question on my own. The units for the Y-axis
can be set to days with the following:

/fpt(fit1, seq(length=5), units="days")
/
This sets the y-axis units to 'days', defines the number of radii (5), and
removes the scaling function that wasn't really necessary for my work. This
code creates the same graphical output as Fig. 3, but includes data for all
5 radii.

/q<-fpt(fit1, seq(length=5), units="days")
plot(q, scale=5)
q/
[[1]]
           r1        r2        r3        r4        r5
1          NA        NA        NA        NA        NA
2  0.93059793 1.8611959 2.7917938 3.2376702 3.5896499
3  0.67953065 1.3590613 2.0385919 3.0999968 4.2353756
4  0.06163299 0.1232660 0.1848990 0.2465320 0.3081650
5  0.29740059 0.5948012 0.8922018 1.1896024 1.4870029
6  0.37765181 0.7553036 1.1329554 1.5106072 1.8882590
7  0.15249607 0.3049921 0.4574882 0.6099843 0.7624803
8  0.41124037 0.8224807 1.2337211 1.6449615 2.0562018
9  0.69655056 1.3931011 2.0896517 2.7862022 3.4827528
10 1.23742436 2.4748487 3.2033270 3.7745322 4.3457374
11 1.09054333 2.1810867 3.3980111 4.6539895 5.3108066
12 0.76754471 1.5350894 2.3026341 3.0701788 3.8377235
13 0.78835903 1.5767181 2.3650771 3.1534361 3.9417951
14 0.23311856 0.4662371 0.6993557 0.9324742 1.1655928
15 0.06427280 0.1285456 0.1928184 0.2570912 0.3213640
16 2.68054024 3.3610805 4.0416207        NA        NA
17 2.68054024 3.3610805 4.0416207        NA        NA
18         NA        NA        NA        NA        NA

I'd still like to know how I can set radii as a function of distance.



--
View this message in context: http://r.789695.n4.nabble.com/Trouble-with-first-passage-time-analysis-using-adehabitatLT-tp4647675p4647704.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list