LDL_ML_predict {LDLcalc} | R Documentation |
Predict LDL value(s)
Description
This function predicts and returns predictions, based on the model previously trained.
Usage
LDL_ML_predict(model, data)
Arguments
model |
The model with which the predictions will be made. |
data |
The data with which the predictions will be made, can either be a single set of (CHOL,HDL,TG) values or a data table of sets of said values. |
Value
The predicted LDL value(s).
Examples
modelPrediction = LDL_ML_predict(model$model,data.table::data.table(CHOL=170.5,HDL=35.12,TG=175))
[Package LDLcalc version 2.1 Index]