jsonHC: Hierachical Cluster output to json

Description Usage Arguments Author(s) Examples

View source: R/json.R

Description

Creates a json file from a hierachical clustering output. This json will work with D3 Dendro

Usage

1
jsonHC(hc)

Arguments

hc

A hieracichal cluster (hclust) output object

Author(s)

James Thomson

Examples

1
2
3
hc <- hclust(dist(USArrests), "ave")
plot(hc)
JSON<-jsonHC(hc)

jamesthomson/R2D3 documentation built on May 18, 2019, 11:21 a.m.