powered by
normalize(x, normalize = 0, ...)
matrix
0 = none, 1= rows, 2 = columns
0
## Not run: # # x <- matrix(sample(1:5, 20, rep=T), 4) # normalize(x, 1) # normalizing rows # normalize(x, 2) # normalizing columns # ## End(Not run)
Run the code above in your browser using DataLab