nmfkc.normalize rescales the values of a matrix to lie between 0 and 1
using the column-wise minimum and maximum values of a reference matrix.
Examples
# install.packages("remotes")
# remotes::install_github("ksatohds/nmfkc")
# Example.
x <- nmfkc.normalize(iris[,-5])
apply(x,2,range)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width
#> [1,] 0 0 0 0
#> [2,] 1 1 1 1