LDL_ML_predict: Predict LDL value(s)

View source: R/9ML_models_functions.R

LDL_ML_predictR 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))


LDLcalc documentation built on May 31, 2022, 5:07 p.m.