inst/doc/hopkins_protocol.R

## -----------------------------------------------------------------------------
library(hopkins)
set.seed(42)
dat1 <- matrix(runif(2000), ncol=2)
plot(dat1)
hopkins(dat1) # .52

## -----------------------------------------------------------------------------
set.seed(42)
dat2 <- matrix(rnorm(1000), ncol=2)
plot(dat2)
hopkins(dat2) # .89

Try the hopkins package in your browser

Any scripts or data that you put into this service are public.

hopkins documentation built on Aug. 20, 2023, 9:08 a.m.