Learn R Programming

balance (version 0.2.4)

sbp.fromRandom: Build SBP Matrix from Random Tree

Description

This function builds an SBP from a random tree.

Usage

sbp.fromRandom(x)

Arguments

x

A matrix with rows as samples (N) and columns as components (D).

Value

An SBP matrix.

Examples

Run this code
# NOT RUN {
library(balance)
data(iris)
x <- iris[,1:4]
sbp.fromRandom(x)

# }

Run the code above in your browser using DataLab