spatstat is an R package for analysing spatial data, mainly Spatial Point Patterns.
I have 2 vectors: set.seed(1) x1 = rnorm(100,0,1) x2 = rnorm(100,1,1) I want to plot these as lines and then find the …