Set and get the global value for n for rando functions

set_n(n)

get_n()

Arguments

n

value to set as the default n

Value

The current global default value for n.
set_n() returns this value invisibly

Examples

set_n(100) get_n()
#> [1] 100