Perform the matrix transformation with LPP. Do the KNN test to get a raw LPP transit metric number.
Note
This requires lpproj package.
lpproj