clustering: Reduce default span to 100,000

This commit is contained in:
Elias Projahn 2022-01-07 17:39:26 +01:00
parent 04809cdc76
commit 910bf85719
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
#' relation to the previous one. For example, if `weight` is 0.7 (the
#' default), the first cluster will weigh 1.0, the second 0.7, the third 0.49
#' etc.
clusteriness <- function(data, span = 1000000, weight = 0.7) {
clusteriness <- function(data, span = 100000, weight = 0.7) {
n <- length(data)
# Return a score of 0.0 if there is just one or no value at all.

View file

@ -4,7 +4,7 @@
\alias{clusteriness}
\title{Perform a cluster analysis.}
\usage{
clusteriness(data, span = 1e+06, weight = 0.7)
clusteriness(data, span = 1e+05, weight = 0.7)
}
\arguments{
\item{data}{The values that should be scored.}