init | R Documentation |
Shorthand to initialize one or more objects
init(..., value = NULL)
... |
variable names to initialize |
value |
value to initialize them to |
initialized objects set to the value specified
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.