df2link {pcutils} | R Documentation |
df to link table
Description
df to link table
Usage
df2link(test, fun = sum)
Arguments
test |
df with at least 3 columns |
fun |
function to summary the elements number, defalut: |
Value
data.frame
Examples
data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, ] -> test
df2link(test)
[Package pcutils version 0.2.6 Index]