Learn R Programming

rando (version 0.2.0)

set_n: Set and Get the Default Value for n

Description

Set and get the global value for n for rando functions

Usage

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

Run this code
# NOT RUN {
set_n(100)

get_n()

# }

Run the code above in your browser using DataLab