For applying any membership function, we need to assign values to its parameters. I want to apply Gaussian membership function from FuzzyToolkitUoN package to a sample of weather dataset using as below:
T               H      P
307.59          50  1009
307.59          51  1008
307.3915127     51  984
275.1451997     52  984
306.8988867     54  1006
306.6525737     55  984
306.4062606     56  998
313.1599476     57  984
305.9136346     58  984
278.6673215     59  1035
325.4210085     60  1015
where:
T= temperature
P= Pressure
H= humidity
if I want to apply Gaussian membership function to the temperature (T) as below:
TGaussian <<- gaussMF("cold", x, c(sigma, center, 1))
when I applied on T= temperature like :
x= 307.59 
sigma=1.5
center= 200
TGaussian <<- gaussMF("cold", x, c(sigma, center, 1))
>   TGaussian
$mfName
[1] "cold"
$mfType
[1] "gaussmf"
$mfX
[1] 307.59
$mfParams
[1]   1.5 200.0   1.0
$mfVals
[1] 0
I know center=200 in not correct value, also sigma=1.5
How can I give both parameters (sigma, center) correct values in this case?
