transposedata: Transpose data layout

View source: R/processing.r

transposedataR Documentation

Transpose data layout

Description

Transposes a dataset, correctly processing column and row labels.

Usage

transposedata(df)

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

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

transposedata(almond)

robbriers/biotic documentation built on April 22, 2022, 1:53 a.m.