fuzzyEx: Derivation of fuzzy membership to classes

Description Usage Arguments Value Note Author(s) References Examples

View source: R/fuzzyEx.R

Description

This is a simple function that complements the outputs from the Fuzme software developed by Minasny and McBratney (2002) and specifically upon outputs of the fuzzy kmeans with extragrades algorithm from McBratney and de Gruijter (1992). The function, given some inputs of multivariate data, together with a centroid table of the same multivariate information, will estimate the membership or belongingness of each row to each class. As the estimation is based on the fuzzy kmeans with extragrades algorithm, the membership are always derived for 1 + n classes i.e. a membership to each candidate class as defined in centroidal terms of the centroid table and a membership to the to extragrade class.

Usage

1
fuzzyEx(data,centroid,cv,expon,alfa)

Arguments

data

A data frame where the first row is a row or observation identifier. The remaining columns hold data relating to the centroid table.

centroid

A matrix of the class centroids

cv

A variance-covariance matrix used for the estimation of Mahalinobis distance.

expon

numeric. The fuzzy exponent value

alfa

numeric. a value indicating the level of membership to extragrade class. This value is an output from fuzme.

Value

Re tuns a matrix with the same number ow rows in the data input and the number of columns equal to 2 + n where n is the number of classes. One of the extra columns contains the memberships to the extragrade class. The last remaining column information about which class the row has the highest membership to.

Note

The distance measure for evaluating the difference between class centroids and observation is the Mahalinobis distance

Author(s)

Brendan Malone

References

Examples

1
2
3
4
library(raster)
data(edgeTarget_C)
target
bbRaster(target)

ithir documentation built on May 2, 2019, 4:49 p.m.

Related to fuzzyEx in ithir...