trans {pcutils} | R Documentation |
Trans format your data
Description
Trans format your data
Usage
trans(df, method = "normalize", margin = 2, ...)
Arguments
df |
dataframe |
method |
"cpm","minmax","acpm","total","log", "max", "frequency", "normalize", "range", "rank", "rrank", "standardize", "pa", "chi.square", "hellinger", "log", "clr", "rclr", "alr" |
margin |
1 for row and 2 for column(default: 2) |
... |
additional |
Value
data.frame
See Also
Examples
data(otutab)
trans(otutab, method = "cpm")
[Package pcutils version 0.2.6 Index]