fuzzystretch: fuzzystretch

Description Usage Arguments Examples

View source: R/fuzzystretch.R

Description

Stretches the fuzzy values in each row of the matrix X such the one stays one, zeros stays zero, x0 stays x0, values between zero and x0 decreased, and values between x0 and one increased.

If a vector was given for x0 then it should have elements with the same number of rows in X. If a single value of x0 was given then it is used for all of the rows of X.

The default value of x0 is the mean of the non-zero elements of the corresponding row, we recommend using this value because it preserve the criterion of (sum of fuzzy values for a single row is unity) to a good level.

Usage

1
fuzzystretch(X, x0 = -1)

Arguments

X
x0

Examples

1
2
3
4
5
6
7
8
9
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (X, x0 = -1) 
{
    return(NULL)
  }

UNCLES documentation built on May 2, 2019, 11:11 a.m.