powered by
Middle value for triangular or trapezoidal membership function
midvalue(x)
A data set in the form of document-term matrix
Middle values for the input data set x.
# NOT RUN { x<-matrix(c(12,9,14,11,21,16,15,24,20,17,14,11),nrow=4) midvalue(x) #[1] 16.5 13.0 14.5 17.5 # }
Run the code above in your browser using DataLab