[R] Regular point pattern on multi-segment line

Pascal LAFFARGUE Pascal.Laffargue at ifremer.fr
Fri May 29 13:23:15 CEST 2009

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 !



More information about the R-help mailing list