Learn R Programming

heemod (version 0.9.1)

scale.combined_model: Normalize Cost and Effect

Description

Normalize cost and effect values taking base model as a reference.

Usage

# S3 method for combined_model
scale(x, center = TRUE, scale = TRUE)

# S3 method for psa scale(x, center = TRUE, scale = TRUE)

# S3 method for run_model scale(x, center = TRUE, scale = TRUE)

# S3 method for dsa scale(x, center = TRUE, scale = TRUE)

Arguments

x
Result of run_model() or run_psa().
center
Center results around base model?
scale
Scale results to individual values?

Value

Input with normalized .cost and .effect, ordered by .effect.