Skip to content

Instantly share code, notes, and snippets.

View SandraKla's full-sized avatar
💻

Sandra SandraKla

💻
View GitHub Profile
@SandraKla
SandraKla / An update to reflimR strengthening transparent reference interval verification.R
Created October 14, 2025 09:20
R-Script for "An update to reflimR: strengthening transparent reference interval verification"
##### R-Script for "An update to reflimR: strengthening transparent reference interval verification" #####
##### Date: 14.10.2025 ###
##### Author: Sandra K. ###
##### Functions #####
reflim.loop <- function(xx,
lognormal = NULL,
targets = NULL,
perc.trunc = 2.5,
n.min = 200,
@SandraKla
SandraKla / reflimR_loop.R
Last active February 20, 2025 12:10
reflim.loop() and zlog.loop()
# Loops for reflim() and zlog()
#
# The following example demonstrates the use of the reflim.loop() and zlog.loop() functions:
#
# reflim.loop(): Computes reference limits for each column of the dataset.
# zlog.loop(): Calculates the zlog values for each individual value in the dataset using the reference limits from reflim.loop.
### EXAMPLE ###
# Load the required library
@SandraKla
SandraKla / app.R
Last active August 21, 2024 10:15
reflimR_ShinyMini
# reflimR_ShinyMini from Sandra K. (2024)
library(shiny)
# data <- reflimR::livertests
# write.csv(data[,4], "reflim_csv.csv", row.names = FALSE)
library(reflimR)
ui <- fluidPage(