Learn R Programming

fido (version 1.0.4)

random_pibble_init: Provide random initialization for pibble model

Description

Randomly initializes based on ALR transform of counts plus random pseudocounts uniformily distributed between 0 and 1.

Usage

random_pibble_init(Y)

Value

(D-1) x N matrix

Arguments

Y

matrix (D x N) of counts

Details

Notation: N is number of samples and D is number of multinomial categories

Examples

Run this code
Y <- matrix(sample(1:100, 100), 10, 10)
random_pibble_init(Y)

Run the code above in your browser using DataLab