df2link: df to link table

View source: R/statistics.R

df2linkR Documentation

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: sum, you can choose mean.

Value

data.frame

Examples

data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, ] -> test
df2link(test)

pcutils documentation built on June 26, 2024, 1:06 a.m.