| FUZZ {FuzzySTs} | R Documentation | 
Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers
Description
Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers
Usage
FUZZ(data, mi, si, PA)
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.  | 
Value
A fuzzification matrix composed by 4 columns c(p,q,r,s), and m lines, i.e. number of observations. No NA is allowed.
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 <- FUZZ(data,mi=1,si=1,PA=PA11)
is.trfuzzification(data.fuzzified)
[Package FuzzySTs version 0.3 Index]