Learn R Programming

bootcluster (version 0.4.2)

ref_dist: Generate reference distribution for stability assessment

Description

Generates a reference distribution by sampling from uniform distributions with ranges determined by the original data.

Usage

ref_dist(df)

Value

A scaled matrix containing the reference distribution

Arguments

df

data.frame or matrix of the original dataset

Details

Generate Reference Distribution

Examples

Run this code
# \donttest{
data(iris)
df <- iris[,1:4]
ref <- ref_dist(df)
# }

Run the code above in your browser using DataLab