# NOT RUN {
# vector
x = 1:10
res = MinMaxObject(x)
# matrix
x = matrix(runif(100), 10, 10)
res = MinMaxObject(x)
# data frame
x = data.frame(matrix(runif(100), 10, 10))
res = MinMaxObject(x)
# array
x = array(runif(100), dim = c(10, 10, 3))
res = MinMaxObject(x)
# }
Run the code above in your browser using DataLab