present_MS_precision_estimates_bs: Present precision estimates with bootstrapped confidence...

present_MS_precision_estimates_bsR Documentation

Present precision estimates with bootstrapped confidence interval for all unique measurement systems

Description

Present precision estimates with bootstrapped confidence interval for all unique measurement systems

Usage

present_MS_precision_estimates_bs(
  data,
  groups = "Comparison",
  LFDT = FALSE,
  decimals = 6,
  n = 100,
  level = 0.95,
  seed_id = 1
)

Arguments

data

A data frame or data table with format LFDT or WFDT enclosed with all replicated measurements

groups

Character vector - The names of the grouping columns of the data. Default is 'Comparison'

LFDT

Logical - Is data of format LDFT or WFDT (default)?

decimals

Integer - how many decimals should be used in the output data table. Default is 6

n

The number of bootstrap resamples of MS precision values. Note that choosing a large number may result in a significant computation time

level

A numeric value that captures the overall confidence level of bootstrapped confidence intervals

seed_id

Integer - Set a unique seed for reproducibility, or generate a random integer based on a distribution

Value

A data table with n rows and 3 columns, where n is the number of unique measurement systems in data

Examples

present_MS_precision_estimates_bs(sampled_cs_measurements, decimals = 3, n = 50, level = 0.99, seed_id = round(runif(1,1,100)))

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