fillup: Fillup function

Description Usage Arguments Author(s) Examples

Description

Function fillup() concatenates a vector with a ‘fillup’ value to ensure a unit sum; if given a matrix, attaches a column so the rowsums are 1.

Function indep() is the inverse: it removes the final element of a vector, leaving only an independent set.

Usage

1
2
fillup(x)
indep(x)

Arguments

x

Numeric vector

Author(s)

Robin K. S. Hankin

Examples

1
2
3
fillup(c(1/2,1/3))

indep(c(1/2,1/3,1/6))

hyper2 documentation built on July 6, 2017, 9:02 a.m.