Package: LDLcalc 2.1

LDLcalc: Calculate and Predict the Low Density Lipoprotein Values

A wide variety of ways to calculate (through equations) or predict (using 9 Machine learning methods as well as a stack algorithm combination of them all) the Low Density Lipoprotein values of patients based on the values of three other metrics, namely Total Cholesterol , Triglycerides and High Density Lipoprotein. It can also calculate the variance of LDL and the Atherogenic Index of Plasma (AIP) using error propagation and bootstrapping.

Authors:Petros Paplomatas [aut, cre], Kostas Anagnostopoulos [aut]

LDLcalc_2.1.tar.gz
LDLcalc_2.1.zip(r-4.5)LDLcalc_2.1.zip(r-4.4)LDLcalc_2.1.zip(r-4.3)
LDLcalc_2.1.tgz(r-4.4-any)LDLcalc_2.1.tgz(r-4.3-any)
LDLcalc_2.1.tar.gz(r-4.5-noble)LDLcalc_2.1.tar.gz(r-4.4-noble)
LDLcalc_2.1.tgz(r-4.4-emscripten)LDLcalc_2.1.tgz(r-4.3-emscripten)
LDLcalc.pdf |LDLcalc.html
LDLcalc/json (API)

# Install 'LDLcalc' in R:
install.packages('LDLcalc', repos = c('https://paplomatasp.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/paplomatasp/ldlcalc/issues

Datasets:

On CRAN:

34 exports 0.74 score 101 dependencies 6 scripts 264 downloads

Last updated 7 months agofrom:6ec8b61b09. Checks:ERROR: 7. Indexed: yes.

TargetResultDate
Doc / VignettesFAILSep 14 2024
R-4.5-winERRORSep 14 2024
R-4.5-linuxERRORSep 14 2024
R-4.4-winERRORSep 14 2024
R-4.4-macERRORSep 14 2024
R-4.3-winERRORSep 14 2024
R-4.3-macERRORSep 14 2024

Exports:AIP_DensityPlotOfbootstAIP_HDLVrncAIP_TGVrncAIPbootVrncAIPcalcAIPErrPrpAIPErrPrp2OrdchebyshevCorr_PlotCVCV_RangeDensityPlotOfVarErrorCorCovJSDJSDNormalLDL_CHOLVrncLDL_DensityPlotOfbootstLDL_eqLDL_HDLVrncLDL_ML_MainLDL_ML_Main_All_ModelsLDL_ML_Main_StackingAlgorithmLDL_ML_predictLDL_TGVrncLDLallEqLDLbootVrncLDLErrPrpplotAIP_HDLVrncplotAIP_TGVrncplotCholVrncToLDLPlotCorrWithRegrLinePlotDiscrHistplotHDLVrncToLDLplotTGVrncToLDL

Dependencies:askpasscaretcaretEnsembleclasscliclockcodetoolscolorspacecorrplotcpp11curldata.tablediagramdigestdplyre1071fansifarverforeachfuturefuture.applygenericsggplot2globalsgluegowergtablehardhathmshttripredisobanditeratorsjanitorjsonliteKernSmoothlabelinglareslatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvmimeModelMetricsmomentsmunsellnlmennetnumDerivopensslopenxlsxparallellypatchworkpbapplyphilentropypillarpkgconfigplyrpoormanpROCprodlimprogressrproxypurrrR6RColorBrewerRcpprecipesresamplereshape2rlangrpartrpart.plotrvestscalesselectrshapesnakecaseSQUAREMstringistringrsurvivalsystibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithrxml2yamlzip

Readme and manuals

Help Manual

Help pageTopics
Plot density of bootstrap and empirical variance for AIPAIP_DensityPlotOfbootst
Calculate the variance of AIP when HDL changes.AIP_HDLVrnc
Calculate the variance of AIP when TG changes.AIP_TGVrnc
Calculate variance of AIP using Bootstrapping.AIPbootVrnc
Calculation of Atherogenic Index of Plasma (AIP)AIPcalc
Variance of Atherogenic Index of Plasma (AIP) using Error Propagation.AIPErrPrp
Second Order Taylor expansion AIP Error propagation varianceAIPErrPrp2Ord
Chebysev's inequalitychebyshev
Correlation plotCorr_Plot
Calculate the CV of a set of values.CV
Change variance of distribution while keeping the mean constantCV_Range
Plot variance densityDensityPlotOfVar
Calculate correlation and covariance of residualsErrorCorCov
Calculate the Jensen-Shannon divergence (JSD)JSD
Calculate the Jensen-Shannon divergence (JSD) between a discrete empirical distribution and the normal distribution.JSDNormal
Calculate LDL variance when cholesterol variance changesLDL_CHOLVrnc
Plot density of bootstrap and empirical variance for LDLLDL_DensityPlotOfbootst
Calculates and returns the LDL Value for any of the 12 different equationsLDL_eq
Calculate LDL variance when HDL variance changesLDL_HDLVrnc
Create, train, assess and return an ML prediction model.LDL_ML_Main
Create, train, assess and return all ML prediction modelsLDL_ML_Main_All_Models
Create, train, assess and return a Stacking Algorithm Machine Learning prediction modelLDL_ML_Main_StackingAlgorithm
Predict LDL value(s)LDL_ML_predict
Calculate LDL variance when triglyceride variance changesLDL_TGVrnc
Calculates and returns the LDL values using all available equationsLDLallEq
Calculate variance of LDL using bootstrapping.LDLbootVrnc
Calculate LDL variance using error propagationLDLErrPrp
A trained modelmodel
Plots AIP variance versus increasing HDL varianceplotAIP_HDLVrnc
Plots AIP variance versus increasing triglyceride varianceplotAIP_TGVrnc
Plots LDL variance versus increasing cholesterol varianceplotCholVrncToLDL
Scatterplot of pairs of parametersPlotCorrWithRegrLine
Plot discrete histogramPlotDiscrHist
Plots LDL variance versus increasing HDL varianceplotHDLVrncToLDL
Plots LDL variance versus increasing triglyceride varianceplotTGVrncToLDL
Anonymous real datasampleA
Anonymous real datasampleB
Anonymous real dataSampleData