This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### 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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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( |