I need your help for the following purpose :

I would like to create regularly spaced points on a multisegment line (a 'psp class' object).

A function of the spatstat library( = pointsOnLines() ) is dedicated to that objective but the problem is that the probability of falling on a particular segment is proportional to the length of the segment.

What about a solution using the whole multi-segment line and not individual segments for points distribution ?

Many thanks in advance for your help !

Plaff

--
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to