Learn R Programming

UNCLES (version 2.0)

fuzzystretch: fuzzystretch

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

fuzzystretch(X, x0 = -1)

Arguments

X

x0

Examples

Run this code
##---- 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)
  }

Run the code above in your browser using DataLab