Column-wise range of values of a matrix:
Column-wise range of values of a matrix.
Description
Column-wise range of values of a matrix.
Usage
colrange(x, cont = TRUE)
Arguments
x
A numerical matrix with data.
cont
If the data are continuous, leave this TRUE and it will return the range of values for each variable (column). If the data are integers, categorical, or if you want
to find out the number of unique numbers in each column set this to FALSE.