Learn R Programming

ipsfs (version 1.0.0)

rightshoulderfinding: Right shoulder values

Description

right shoulder value for trapezoidal membership function

Usage

rightshoulderfinding(b, c)

Arguments

b

Middle values for the data set x

c

A constant value for fixing the right shoulder

Value

Right shoulder values for the input data set x.

Examples

Run this code
# NOT RUN {
x<-matrix(c(12,9,14,11,21,16,15,24,20,17,14,11),nrow=4)
mid<-midvalue(x)
rightshoulderfinding(mid,2.5)
#[1] 19.0 15.5 17.0 20.0
# }

Run the code above in your browser using DataLab