GFUZZ {FuzzySTs}R Documentation

Fuzzifies a variable modelled by any type of fuzzy numbers

Description

Fuzzifies a variable modelled by any type of fuzzy numbers

Usage

GFUZZ(data, mi, si, PA, spec = "Identical", breakpoints = 100)

Arguments

data

a data set.

mi

the index of the main-item containing the concerned variable.

si

the index of the sub-item of a given main-item mi.

PA

a vector of the linguistic terms of the considered variable.

spec

specification of the fuzzification matrix. The possible values are "Identical" and "Not Identical".

breakpoints

a positive arbitrary integer representing the number of breaks chosen to build the numerical alpha-cuts. breakpoints is fixed to 100 by default.

Value

A numerical fuzzification array of 3 dimensions (m,n,2), with m lines, n columns and no NA.

Examples

data <- matrix(c(1,2,3,2,2,1,1,3,1,2),ncol=1)
MF111 <- TrapezoidalFuzzyNumber(0,1,1,2)
MF112 <- TrapezoidalFuzzyNumber(1,2,2,3)
MF113 <- TrapezoidalFuzzyNumber(2,3,3,3)
PA11 <- c(1,2,3)
data.fuzzified <- GFUZZ(data,mi=1,si=1,PA=PA11)

[Package FuzzySTs version 0.2 Index]