rotate_fit: Rotate a point configuration to fit another one.

Description Usage Arguments Value

View source: R/rotate.R

Description

Rotate a point configuration to fit another one.

Usage

1
rotate_fit(x, target)

Arguments

x

A numeric n x d matrix.

target

A numeric n x d matrix.

Value

A n x d matrix containing the rotated points of x which minimize the squared Euclidean distance to target.


chroetz/poisrrr documentation built on Dec. 19, 2021, 4:05 p.m.