normalize.rsphere {nem}R Documentation

Normalize values on a sphere

Description

Normalizes values of a vector such that the sum of squared elements equal to $r^2$.

Usage

normalize.rsphere(X, r = 1)

Arguments

r

the diameter of a sphere, default 1.

x

A vector or a matrix with values to be normalized.

Value

It returns a data frame with normalized values.

Author(s)

Marjan Cugmas


[Package nem version 0.12.33 Index]