addSampleSizes: Add sample sizes to "size" compositions in a dataframe

Description Usage Arguments Details Value

View source: R/addSampleSizes.R

Description

Function to add sample sizes to "size" compositions in a dataframe.

Usage

1
2
addSampleSizes(dfr, id.size = "size", id.value = NULL,
  verbose = FALSE)

Arguments

dfr

- input dataframe with composition data by "size" and other factors

id.size

- name of column in dfr with "size" data

id.value

- name of column in dfr with count (or abundance) values

verbose

- flag to print diagnostic output to console

Details

Non-standard column names SHOULD NOT be back-quoted.

Value

dataframe with original size compositions and sample sizes in column "ss".


wStockhausen/wtsSizeComps documentation built on Aug. 19, 2018, 3:45 a.m.