crisp.Data: Cutter a part of Data

Description Usage Arguments Details Value See Also Examples

View source: R/crisp.Data.R

Description

This function cut a part of Data (with format "FANOVA.Data") to obtain a vector of crisp data. The cutter part can be related part for a special factor level, or can be related part for core's (or e.g. left spreads) of TFNs.

Usage

1
crisp.Data(Data, par = "C", factor = "all")

Arguments

Data

a matrix with dim=c(n, 4) and FANOVA.Data format.

par

a character argument with possible values "C", "L" and "R". If par="C", which is default, the cut part will be the cores of TFNs. If par="L" (par="R"), the cut part will be the Left (Right) spreads of TFNs.

factor

its default is "all" which means all factor levels. If "factor=i", the cut part will be relevant to the i-th population where i=1,2,...,length(n).

Details

One can consider both factor and par arguments to cut a part of "FANOVA.Data" format.

Value

a part of Data matrix with format "FANOVA.Data"; see examples.

See Also

FuzzyNumbers

Examples

1
2
3
4
data(Data)
crisp.Data(Data)		 # Or crisp.Data(Data, par="C", factor="all") 
crisp.Data(Data, "L")
crisp.Data(Data, "L", factor=2)

ANOVA.TFNs documentation built on May 1, 2019, 9:14 p.m.