mean_titers: Calculate the geometric mean titer of a set of titers

Description Usage Arguments

View source: R/mean_titers.R

Description

Calculate the geometric mean titer of a set of titers

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mean_titers(
  titers,
  method,
  level = 0.95,
  sd = NA,
  dilution_stepsize,
  prior_mean_mean = 0,
  prior_mean_sd = 100,
  prior_sd_shape = 3,
  prior_sd_scale = 1/4,
  options = list()
)

Arguments

titers

A vector of titers

method

The method to use when dealing with censored titers (like '<10'), one of "replace_nd", "exclude_nd", "truncated_normal"

level

The confidence level to use when calculating confidence intervals

sd

By setting this you can fix the standard deviation assumed when finding parameters for the normal distribution when using the "truncated_normal" approach

dilution_stepsize

The dilution stepsize used in the assay, see 'calc_titer_lims()'

options

A named list of options to pass to 'titer_fit_options()'


shwilks/meantiter documentation built on Dec. 23, 2021, 1:28 a.m.