orientlib (version 0.10.3)

weighted.mean-methods: Weighted mean method

Description

The weighted mean function.

Arguments

Methods

x = "ANY", w = "ANY"

the standard stats::weighted.mean

x = "orientation", w = "numeric"

weighted mean for orientations

Details

The weighted mean for orientations is the nearest SO(3) matrix to the entrywise weighted mean of the rotmatrix-class matrices.