R/RcppExports.R
center_points.Rd
Center points (subtract column means)
center_points(values)
Numeric matrix
pts <- matrix(c(1, 2, 3, 10, 20, 30), ncol = 2) center_points(pts) # column means are now 0 #> [,1] [,2] #> [1,] -1 -10 #> [2,] 0 0 #> [3,] 1 10