means.vec: Computing means vector for each population

Description Usage Arguments Value See Also Examples

View source: R/means.vec.R

Description

This function computes the means of each population. It must be noted that the means of several TFNs is a TFN too.

Usage

1

Arguments

Data

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

Value

A matrix with dim=c(length(n), 3), where each of its rows show the mean of TF observation in relevant population.

See Also

FuzzyNumbers

Examples

1
2
3
4
5
6
7
8
9
data(Data)

means.vec(Data)

 # Computing the waighted mean of mean populations: 
data.. = ( means.vec(Data)[1,]*n(Data)[1] + 
	   means.vec(Data)[2,]*n(Data)[2] +
	   means.vec(Data)[3,]*n(Data)[3] ) / sum(n(Data))
round(data..,3)

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