numvec_feature_statistics {tspmeta}R Documentation

Computes statistics from a vector of of values.

Description

E.g. computes features from distribution of distances. Computed statistics: min, median, mean, max, sd, span, coeff_of_var.

Usage

numvec_feature_statistics(x, name, na.rm = TRUE)

Arguments

x

[numeric]
Numeric vector.

name

[numeric]
Prefix name for elements in result list.

na.rm

[logical(1)]
Should NAs in x be removed? Default is TRUE.

Value

[list] Elements are named <name_statistic>.


[Package tspmeta version 1.2 Index]