do.list.switch: List switch or inversion

Description Usage Arguments Value Author(s) References Examples

View source: R/do.list.switch.R

Description

List switch or inversion

Usage

1

Arguments

dat

NO DEFAULT. A list of vectors that you wish to switch/invert

Value

Returns a data.table of the switched/inverted li

Author(s)

Thomas M Ashhurst, thomas.ashhurst@sydney.edu.au

References

https://sydneycytometry.org.au/spectre.

Examples

1
2
3
4
5
lst <- list("A" = c(1,2,3), "B" = c(4,5,6), "C" = c(7,8,9))
lst

res <- do.list.switch(lst)
res

sydneycytometry/Spectre documentation built on March 20, 2021, 2:15 a.m.