probalized: Normalize a vector: L1 norm

View source: R/Functions.R

probalizedR Documentation

Normalize a vector: L1 norm

Description

This function normalizes a given vector so that the sum of every elements is 1

Usage

probalized(x)

Arguments

x

An Input vector

Value

Normalized vector


tsinghua-ZTX/SPER documentation built on June 7, 2024, 5:30 a.m.