scale_to_max_radius: Scale one table to the max radius of another

Usage Arguments Value

View source: R/mvar_utils.R

Usage

1
scale_to_max_radius(x1, x2, q = 0.9)

Arguments

x1

The reference matrix used to rescale x2.

x2

The matrix to rescale.

q

We rescale to this fraction of the maximum radius in x1.

Value

x2_scaled The rescaled matrix x2.


krisrs1128/mvarVis documentation built on Oct. 13, 2019, 11:14 p.m.