Skip to contents

Aligns the coordinates along their longer axis using var-cov matrix and eigen values.

Usage

coo_align(coo)

Arguments

coo

matrix of (x; y) coordinates or any Coo object.

Value

a matrix of (x; y) coordinates, or a Coo object.

Examples

coo_plot(bot[1])

coo_plot(coo_align(bot[1]))


# on a Coo
b <- bot %>% slice(1:5) # for speed sake
stack(coo_align(b))