convert x2ylist to y2xlist

Share:

Description

convert list of x-y associations to list of y-x associations

Usage

1
x2y_conv2_y2x(x2ylist)

Arguments

x2ylist

a list which the names are xs and the elements are ys of each x

Value

a list of y2x

Author(s)

Peng Ni, Min Li

Examples

1
2
data(go2g_sample)
g2go_sample<-x2y_conv2_y2x(go2g_sample[1:100])

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