Skip to contents

Upper confidence limit LSC(95,70) (UNE-EN 689)

Usage

une689_lsc(
  distribution_type,
  ut,
  MA = NA_real_,
  DS = NA_real_,
  MG = NA_real_,
  DSG = NA_real_
)

Arguments

distribution_type

Character. Distribution type as returned by une689_distribution_type(). Accepts both English ("Lognormal", "Normal", "Neither") and Spanish labels.

ut

Numeric. UT factor, see une689_ut().

MA, DS

Numeric. Arithmetic mean and standard deviation (only needed when distribution_type = "Normal"); see une689_statistics().

MG, DSG

Numeric. Geometric mean and standard deviation (only needed when distribution_type = "Lognormal"); see une689_statistics().

Value

Numeric scalar with the LSC(95,70), or NA_real_ if distribution_type = "Neither" (or "Ninguna" in Spanish).

Examples

une689_lsc("Normal", ut = 2.005, MA = 7.5, DS = 1.87)
#> [1] 11.24935