memG: Gaussian membership function

View source: R/memG.R

memGR Documentation

Gaussian membership function

Description

Gaussian membership function with mean, standard deviation, and data set

Usage

memG(a, b, x)

Arguments

a

Mean values of individual rows of the data set x

b

Standard deviation values of individual rows of the data set x

x

A data set in the form of document-term matrix

Value

Gaussian membership values for the input data set x.

Examples

x<-matrix(c(12,9,14,11,21,16,15,24,20,17,14,11),nrow=4)
a<-mn(x)
b<-std(x)
memG(a,b,x)
#       [,1]      [,2]      [,3]
#[1,] 0.5169457 0.7958771 0.8941586
#[2,] 0.5179406 0.9000876 0.7891159
#[3,] 0.8464817 0.5134171 0.8464817
#[4,] 0.8464817 0.5134171 0.8464817

ipsfs documentation built on June 21, 2022, 5:07 p.m.

Related to memG in ipsfs...