nbreakpoints: Calculates the number of breakpoints of a numerical matrix of...

View source: R/is_alphacuts_17102018.R

nbreakpointsR Documentation

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)

Arguments

data

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

Value

A numerical positive integer.

Examples

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

FuzzySTs documentation built on Sept. 11, 2024, 8:46 p.m.