Learn R Programming

rpartitions (version 0.1)

get_rand_int: Generate a random integer between two integers

Description

Generate a random integer between two integers

Usage

get_rand_int(min = 0, max = 1)

Arguments

min
minimum value
max
maximum value

Examples

Run this code
get_rand_int(min=0, max=10)

Run the code above in your browser using DataLab