Learn R Programming

FuzzySTs (version 0.2)

nbreakpoints: Calculates the number of breakpoints of a numerical matrix of alpha-cuts

Description

Calculates the number of breakpoints of a numerical matrix of alpha-cuts

Usage

nbreakpoints(data)

Value

A numerical positive integer.

Arguments

data

a matrix of numerical alpha-cuts or a 3-dimensional array. No NA are allowed.

Examples

Run this code
X <- TrapezoidalFuzzyNumber(1,2,3,4)
alpha.X <- alphacut(X, seq(0,1,0.01)) 
nbreakpoints(alpha.X)

Run the code above in your browser using DataLab