run_DT: Run a Diagnostic Tool

Description Usage Arguments Details Value See Also

Description

This function run a diagnostic tool DT model built using the build_DT function on new data.

Usage

1
run_DT(pathDT, metrics)

Arguments

pathDT

character string, the path where the built models will be saved

metrics

a data frame with samples in rows and biological metrics in columns

Details

The function takes the path where the DT model has been saved and the new data as inputs. Then, the averaged predictions for each of the DT unit (unit of a DT model corresponding to a given pressure) are computed and the predictions of the different DT units are gathered.

Value

a data frame with the samples from newdata in rows and the corresponding predictions for the different pressures included in the DT model in columns.

See Also

build_DT


CedricMondy/ecodiag documentation built on May 10, 2019, 3:14 a.m.