View source: R/leftshoulderfinding.R
leftshoulderfinding | R Documentation |
Left shoulder value for trapezoidal membership function
leftshoulderfinding(a, b)
a |
A constant value for fixing the left shoulder |
b |
Middle values for the data set x |
Left 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) leftshoulderfinding(2.5,mid) #[1] 14.0 10.5 12.0 15.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.