Learn R Programming

fido (version 1.0.4)

miniclo: Closure operator

Description

Closure operator

Usage

miniclo(x)

Value

x with row entries divided by sum of row (converts vectors to row matricies)

Arguments

x

vector or matrix (rows are samples, parts are columns) of data in simplex

Examples

Run this code
x <- matrix(runif(30), 10, 3)
x <- miniclo(x)

Run the code above in your browser using DataLab