This collapses the cycles of the raw measurements and calculates averages and standard deviations per aliquot.

collapse_cycles(
  .data,
  ...,
  cols = c(d13C_PDB, d18O_PDB, D47_raw, D47_final),
  id = c(file_id),
  outlier = outlier_cycle,
  funs = NULL,
  alpha = 0.05,
  na.rm = TRUE,
  quiet = NULL
)

Arguments

.data

A tibble resulting from bulk_and_clumping_deltas().

...

These dots are for future extensions and must be empty.

cols

Columns to calculate summaries for.

id

Index columns that will be excluded from nesting. Defaults tofile_id.

outlier

The column containing outlier information.

funs

List of summary functions to apply. Defaults to mean, sd, n, sem, 95% cl.

alpha

The confidence level for the summary functions.

na.rm

a logical value indicating wheter NA values should be stripped before the computation proceeds.

quiet

If TRUE, print info messages. If NULL (default) listens to options(clumpedr.quiet)