A R package for the simulation of measurements in laboratory medicine.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man-roxygen
man
tests
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE.md
NAMESPACE
README.Rmd
README.md
rSimLab.Rproj

README.md

Travis-CI Build Status Coverage Status

rSimLab

A package for the simulation of measurements in laboratory medicine. Complex settings can be created from simple building blocks.

Example:

# General settings (here: samples per day)
setting <- simpleOverTime(365,500, 50)
# Analytes with distribution of true values.
ana <- analyte(setting) %>%
    ana_distrNorm(3.5 , .886)
# Measurements with imprecision and bias.
mm <- measurement(ana) %>%
    mm_precCharFunc(.067, 0.031) %>%
    mm_truenessFunc(0, .03)
# Execute simulation.
runSim(mm)

Please refer to the inline documentation for further examples.

This package is not on CRAN yet. To install please run

install.packages("devtools")
library(devtools)
install_github("acnb/rSimLab")