Skip to contents

Add mean & SD columns, grouped by grouping_col, for all the calculated numeric columns.

Usage

ras.Fu_feces_meanSD(
  df,
  grouping_col = "Sample_ID",
  sample_type = "Sample Type",
  compound = "Analyte Peak Name"
)

Arguments

df

Data frame

grouping_col

Column name to group by

sample_type

Column name for sample type

compound

Column name for compound

Value

Data frame with mean & SD columns

Examples

  # No example