| umx_array_shift | R Documentation |
Returns x[1]. Has the SIDE EFFECT of assigning x to x[2:end] in the container environment.
umx_array_shift(x)
x |
the vector to shift |
first item of x
Other Miscellaneous Utility Functions:
install.OpenMx(),
libs(),
qm(),
umx,
umxLav2RAM(),
umxModelNames(),
umxRAM2Lav(),
umxVersion(),
umx_find_object(),
umx_lower.tri(),
umx_msg(),
umx_open_CRAN_page(),
umx_pad(),
umx_print(),
umx_wide2long(),
umx_wide4lmer()
x = c("Alice", "Bob", "Carol")
umx_array_shift(x) # returns "Alice"
x # now only 2 items (altered in containing environment)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.