# XYcoords2LinesColumns: XYcoords2LinesColumns(X,Y) Converts points given as x(i),y(i)... In GeneralizedUmatrix: Credible Visualization for Two-Dimensional Projections of Data

 XYcoords2LinesColumns R Documentation

## XYcoords2LinesColumns(X,Y) Converts points given as x(i),y(i) coordinates to integer coordinates Columns(i),Lines(i)

### Description

XYcoords2LinesColumns(X,Y) Converts points given as x(i),y(i) coordinates to integer coordinates Columns(i),Lines(i)

### Arguments

 `X` [1:n] first coordinate: x(i), y(i) is the i-th point on a plane `Y` [1:n] second coordinate: x(i), y(i) is the i-th point on a plane `minNeurons` minimal size of the corresponding grid i.e max(Lines)*max(Columns)>=MinGridSize , default MinGridSize = 4096 defined by the numer of neurons `MaxDifferentPoints` TRUE: the discretization error is minimal FALSE: number of Lines and Columns is minimal `PlotIt` Plots the result `na.rm` if non finite values should be disregarded in the computation then set to TRUE

### Details

Non finite values are not filtered out even if na.rm=TRUE, only ignored. Details are written down in [Thrun, 2018, p. 47].

### Value

GridConvertedPoints[1:Columns,1:Lines,2] IntegerPositions on a grid corresponding to x,y

Michael Thrun

### References

[Thrun, 2018] Thrun, M. C.: Projection Based Clustering through Self-Organization and Swarm Intelligence, doctoral dissertation 2017, Springer, Heidelberg, ISBN: 978-3-658-20539-3, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-3-658-20540-9")}, 2018.

### Examples

``````data("Chainlink")