signatureDistance: Distance to the signature template

Description Usage Arguments Details Value Author(s)

Description

This function returns a normalized distance to the signature template

Usage

1
2
3
4
5
	signatureDistance(
	              template,
	              data=NULL,
	              method = c("pearson","spearman","kendall","RSS","MAN")
	)

Arguments

template

A list with a template matrix of the signature described with quantiles = [0.025,0.25,0.5,0.75,0.975]

data

A data frame that will be used to compute the distance

method

The distance method.

Details

The distance to the template: "pearson","spearman" and "kendall" distances are computed using the correlation function i.e. 1-r. "RSS" distance is the root sum square distance "MAN" Manhattan. The standardized L^1 distance

Value

result

the distance to the template

Author(s)

Jose G. Tamez-Pena


FRESA.CAD documentation built on Jan. 13, 2021, 3:39 p.m.