View source: R/rightshoulderfinding.R
rightshoulderfinding | R Documentation |
right shoulder value for trapezoidal membership function
rightshoulderfinding(b, c)
b |
Middle values for the data set x |
c |
A constant value for fixing the right shoulder |
Right shoulder values for the input data set x.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.