sumsqscale {hapsim}R Documentation

Scales a matrix

Description

Scales the columns of a matrix so that the squared elements sum to unity

Usage

sumsqscale(mat)

Arguments

mat

A matrix

Value

The scaled matrix.


[Package hapsim version 0.31 Index]