powered by
It acts similiarly to Excel's RAND function. No need to specify the arguments/parameters. It gives you the random number from 0 to 1.
RAND()
This example simply returns a number from 0 to 1. Function will always return numeric class.
# NOT RUN { RAND() # }
Run the code above in your browser using DataLab