init {quickcode} | R Documentation |
Initialize new variables and objects
Description
Shorthand to initialize one or more objects
Usage
init(..., value = NULL)
Arguments
... |
variable names to initialize |
value |
value to initialize them to |
Value
initialized objects set to the value specified
Examples
init(t,u,v)
message(t) # t = NULL
message(u) # u = NULL
message(v) # v = NULL
init(j,k,m,value = 7)
message(j) # j = 7
message(k) # k = 7
message(m) # m = 7
[Package quickcode version 0.9.1 Index]