dirichlet_energy: Dirichlet Energy

Description Usage Arguments Value Examples

View source: R/dirichlet.R

Description

Calculates the Dirichlet Energy of a data vector.

Usage

1
dirichlet_energy(x, standartize = FALSE)

Arguments

x

data vector

standartize

Logical. If set to TRUE, then the final result is divided by the amount of entries. Defaults to FALSE.

Value

The signal's Dirichlet Energy. If x is a data frame, then the output is a vector.

Examples

1
2
a <- seq(1, 100)
dirichlet_energy(a)

pedrocava/mathr documentation built on May 29, 2020, 8:32 p.m.