fuzzycheck {fuzzyOP}R Documentation

Checking data

Description

It is checked whether the input data file determines a fuzzy number.

Usage

fuzzycheck(H)

Arguments

H Dataset, which must have at least 2 columns.

Details

For more information about the necessary data format see: test

Value

The returned value is a number, either 0 or 1. Depending on this an ERROR report is delievered.
0 The input dataset does not determine a fuzzy number.
1 The input dataset determines a fuzzy number.

Author(s)

Semagül Aklan, Emine Altindas, Yi Hong Kang, Rabiye Macit, Senay Umar, Hatice Ünal

References

R. Viertl, D. Hareter: Beschreibung und Analyse unscharfer Information - Statistische Methoden für unscharfe Daten, Springer, Wien, 2006

See Also

fuzzynumber, fuzzymin, fuzzymax, fuzzydeltacut, fuzzysum, fuzzymean, fuzzyscalar, fuzzyproduct, fuzzypower, fuzzyfunction

Examples

require(fuzzyOP)
##Example 1:
##create data:
a<-c(-1,0,1,NA,NA,NA)
b<-c(0,1,0,NA,NA,NA)
d<-c(1,2,3,4,5,6)
e<-c(0,0.3,1,0.4,0.2,0)
f<-c(1:5,NA)
g<-c(0,0.2,1,0.5,0,NA)
B<-cbind(a,b,d,e,f,g)
##execute:
fuzzycheck(B)

##Example 2:
data(test)
p<-fuzzycheck(test)
p

[Package fuzzyOP version 1.1 Index]