Learn R Programming

PAC (version 1.0.1)

BSPLeaveCenter: Finds N Leaf centers in the data

Description

Finds N Leaf centers in the data

Usage

BSPLeaveCenter(data, N = 40, method = "dsp")

Arguments

data
a n x p data matrix
N
: number of leaves centers
method
: partition method, either "dsp(discrepancy based partition)", or "bsp(bayesian sequantial partition)"

Value

  • leafctr : N leaves centers