Learn R Programming

T4cluster (version 0.1.4)

gbphate: Generalized Bayesian Clustering with PHATE Geometry

Description

Generalized Bayesian Clustering with PHATE Geometry

Usage

gbphate(data, k = 2, ...)

Arguments

data

an \((n\times p)\) matrix of row-stacked observations.

k

the number of clusters (default: 2).

...

extra parameters including

nnbd

size of nearest neighborhood (default: 5).

alpha

decay parameter for Gaussian kernel exponent (default: 2).

gamma_a

hyperparameter of the Gamma prior (default: 0).

gamma_b

hyperparameter of the Gamma prior (default: 0).

burn_in

number of MCMC samples to be thrown away for burn-in (default: 50).

nsample

number of MCMC samples to be kept after burn-in (default: 50).

random.start

a logical to use random initialization or not (default: TRUE).

print.progress

a logical to show how much an algorithm is proceeded (default: FALSE.)