Learn R Programming

FuzzySTs (version 0.2)

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

Description

Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers

Usage

tr.gfuzz(data, breakpoints = 100)

Value

A 3-dimensional array with dimensions (m,n,2), i.e. m lines, n columns, with no NA.

Arguments

data

a matrix of 4 columns (p,q,r,s), where p \(\le\) q \(\le\) r \(\le\) 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.

Examples

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

Run the code above in your browser using DataLab