precision_of_replicates: Estimate precision estimates for each clinical sample over...

View source: R/precision_of_replicates.R

precision_of_replicatesR Documentation

Estimate precision estimates for each clinical sample over groups

Description

Estimate precision estimates for each clinical sample over groups

Usage

precision_of_replicates(
  data,
  measure = c("standard deviation", "coefficient of variation", "lambda")
)

Arguments

data

A data table or data frame with LFDT format. Must at least contain MP_A, MP_B and something that resembles ID columns

measure

Which precision measure should be used to calculate precision of clinical samples against concentration range? Valid inputs are 'standard deviation' (alternatively, 1 or SD), 'coefficient of variation' (alternatively, 2 or CV) or 'lambda' (alternatively, 3 or L)

Value

Returns a grouped data table with concentration and precision estimates. If measure = 'lambda', the MS column will not be included

Examples

precision_of_replicates(MS_wise(sampled_cs_measurements), measure = 'cv')

pernille267/commutability.selectivity documentation built on July 20, 2022, 9:11 a.m.