tr.gfuzz: Fuzzifies a variable modelled by trapezoidal or triangular...

Description Usage Arguments Value Examples

View source: R/is_alphacuts_17102018.R

Description

Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers

Usage

1
tr.gfuzz(data, breakpoints = 100)

Arguments

data

a matrix of 4 columns (p,q,r,s), where p q r s. No NA are allowed.

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 3-dimensional array with dimensions (m,n,2), i.e. m lines, n columns, with no NA.

Examples

1
2
data <- matrix(c(1,1,2,2,3,3,4,4),ncol=4)
data.tr <- tr.gfuzz(data)

FuzzySTs documentation built on Nov. 23, 2020, 5:11 p.m.