Learn R Programming

blindspiker (version 0.2.0)

table_spike: Make table summarizing the blind spikes.

Description

Make a table showing how many blind spike samples contained one or more analytes.

Usage

table_spike(dat = bs_df)

Value

table of all analytes in blind spike samples

Arguments

dat

data frame with all data needed as described in `bs_prep_and_analysis`.

See Also

For combinations of analytes spiked in a single sample, see `spike_combos`.

Examples

Run this code
example_spike_data <- system.file('extdata', 'spikevals.csv', package = 'blindspiker')
example_lab_data <- system.file('extdata', 'labvals.csv', package = 'blindspiker')
example_df <- bs_prep_and_analysis(spike_data = example_spike_data, lab_data = example_lab_data)
table_spike(dat = example_df)

Run the code above in your browser using DataLab