The inputted data for FANOVA test must be in a special format which we named it FANOVA.Data
format and some of inputted parameters in several functions of this package (such as means.vec
, FANOVA
, plotTFNs
, crisp.Data
, f.fuzzy
and ...) must be in FANOVA.Data
format.
In fact, the FANOVA.Data
is a matrix with \(dim=c(n,4)\) which can be created/simulated by following two steps:
Step 1 (saving/creating TFNs of i-th population in a matrix with \( dim=c(n_i,3))\):
Save Triangular Fuzzy Numbers (TFNs) for FANOVA test in length(n) matrix and input each TFN in one row of them such that:
1st column is for Cores of TFNs (with col.name="C"
),
2nd column is for Left spreads of TFNs (with col.name="L"
), and
3nd column is for Right spreads of TFNs (with col.name="R"
).
Step 2 (Combine all population data in a matrix with \( dim=c(n,4))\):
Put The created matrixes in Step 1, top of each other to create a matrix with \(dim=c(n,4)\) such that:
n=sum(n_i),
its 1st column is the Core of TFNs (with col.name="C"
),
its 2nd and 3nd columns are the Left and Right spreads of TFNs (with col.name="L"
and col.name="R"
) respectively, and
its 4nd column is the factor which shows the population number for each row (with col.name="factor"
).
See Example 1 in bellow.