Hi,

I have a text file that contains the 3D coordinates of points and I want 
to plot the histogram of the nearest neighbors distance. I can import 
the xyz coordinates in R and each value x, y, z is stored in a numerical 
array. I discovered the nndist.pp3 function from the spatstat package 
that seems to do what I want. My problem is to create a pp3 object from 
the xyz values that I have.

Do you know how to do that ?

Best regards,

-- 

*Eric Leroy*

/Responsable de la plateforme microscopie électronique/

ICMPE - UMR 7182 - CNRS - UPEC

2/8, rue Henri Dunant

94320 Thiais

Tél : 01.49.78.12.09

Fax : 01.49.78.12.03

courriel : eric.le...@icmpe.cnrs.fr <mailto:eric.le...@icmpe.cnrs.fr>

Page Web : : http://www.icmpe.cnrs.fr


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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