transposedata: Transpose data layout

Description Usage Arguments Value Examples

Description

Transposes a dataset, correctly processing column and row labels.

Usage

1

Arguments

df

A dataframe containing abundances of invertebrate taxa in different samples.

Value

A data frame transposing the input data, with row and column labels processed correctly.

Examples

1
2
3
4
# transpose the built-in River Almond dataset
# this would have to be transposed back to original format for calculation

transposedata(almond)

robbriers/mytools documentation built on Dec. 12, 2020, 1:14 p.m.