https://github.com/sgibb/bootstrap
Simple Bootstrapping for Hierarchical Clustering
https://github.com/sgibb/bootstrap
Last synced: about 2 months ago
JSON representation
Simple Bootstrapping for Hierarchical Clustering
- Host: GitHub
- URL: https://github.com/sgibb/bootstrap
- Owner: sgibb
- Created: 2013-06-27T20:17:36.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T13:27:30.000Z (about 5 years ago)
- Last Synced: 2025-02-14T12:40:50.594Z (3 months ago)
- Language: R
- Size: 113 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
Awesome Lists containing this project
README
# Simple Bootstrapping for Hierarchical Clustering
## Install
```s
install.packages("devtools")
library("devtools")
install_github("bootstrap", "sgibb")
```## Example
```s
## load library
library("bootstrap")## hclust example
createHclustObject <- function(x)hclust(dist(x), "ave")## bootstrap
b <- bootstrap(USArrests, fun=createHclustObject, n=100L)## plot
hc <- createHclustObject(USArrests)
plot(hc)## draw bootstrap values to corresponding node
bootlabels.hclust(hc, b, col="blue")
```
