Learn R Programming

distantia (version 2.0.2)

utils_block_size: Default Block Size for Restricted Permutation in Dissimilarity Analyses

Description

Default Block Size for Restricted Permutation in Dissimilarity Analyses

Usage

utils_block_size(tsl = NULL, block_size = NULL)

Value

integer

Arguments

tsl

(required, list) Time series list. Default: NULL

block_size

(optional, integer vector) Row block sizes for restricted permutation tests. Only relevant when permutation methods are "restricted" or "restricted_by_row". A block of size n indicates that a row can only be permuted within a block of n adjacent rows. If NULL, defaults to the 20% rows of the shortest time series in tsl. Minimum value is 2, and maximum value is 50% rows of the shortest time series in tsl. Default: NULL.

See Also

Other distantia_support: distantia_aggregate(), distantia_boxplot(), distantia_cluster_hclust(), distantia_cluster_kmeans(), distantia_matrix(), distantia_model_frame(), distantia_spatial(), distantia_stats(), distantia_time_delay(), utils_cluster_hclust_optimizer(), utils_cluster_kmeans_optimizer(), utils_cluster_silhouette()