Hei the distance sampling group,
It is a very basic question. I have not found how the segmentation is actually done for Distance and DSM R package.
How am I supposed to characterize a segment by its coordinates, one coordinate at each extremity of the segment or the midpoint coordinate? Using the midpoint coordinate, the projection is not correct and my transects are shortened by half a segment length at each extremity. If I define the start and end coordinates of the segments, the projection is correct. In the latter case, I get two coordinates = two rows in my segdata table for one segment with its respective single covariate (here the proportion of vegetated surface in the covered area of the segment). How can I have one covariate per row (= per segment) in my table segdata?
Here is an illustration for 3 segments (UTM coordinates): I thus have 4 coordinates but only 3 covariates.
> segdataSK
Area Transect.Label Sample.Label x y Effort veg
1 1 1 1-1 426271.0 8742023 1525.3 58.48137
2 1 1 1-2 427796.3 8742023 1525.4 83.00654
3 1 1 1-3 429321.7 8742023 1525.3 73.77207
4 1 1 1-4 430847.0 8742023 1525.3 NA
In the mexdolphins dataset, segdata have a different depth covariate for each row, I must have missed an elementary point of the data organization…
Thanks in advance for the precious help.
Mathilde
> <mailto:distance-sampling+unsub...@googlegroups.com>.