R/open_image_rscript.R
MinMaxObject.Rd
minimum and maximum values of vector, matrix, data frame or array
MinMaxObject(x)
either a vector, matrix, data frame or array
a list
This helper function returns the minimum and maximum values of a vector, 2-dimensional or 3-dimensional objects (where the third dimension is equal to 3). In case of a vector, matrix or data frame it returns a single value for the minimum and maximum of the object. In case of an array it returns the minimum and maximum values for each slice of the array.