Learn R Programming

FSMUMI (version 1.0)

fbsm: Global threshold for missing data imputation

Description

Computing the new similarity measure between two univariate signals Y and X based on fuzzy logic .

Usage

fbsm(Y, X)

Arguments

Y

input vector

X

input vector #' @examples data(dataFSMUMI) X <- dataFSMUMI[, 1] ; Y <- dataFSMUMI[, 2] fbsm(Y,X)

Details

This function returns the similarity measure of two vectors \(0 <= fbsm <= 3\). fbsm is close to 3 the two vectors are more similar. Both vectors Y and X must be of equal length, otherwise an error will be appreared. The input vectors do not contain NA.