Concatenate and deduplicate vectors

Share:

Description

This function returns its arguments, after concatenating them using c and then removing elements with duplicate names. The first element with each name will remain. Unnamed elements are retained.

Usage

1
deduplicate(...)

Arguments

...

One or more vectors of any mode, usually named.

Value

The concatenated and deduplicated vector.

Author(s)

Jon Clayden

References

Please cite the following reference when using TractoR in your work:

J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. http://www.jstatsoft.org/v44/i08/.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.