get_metric: Obtain Integrated Squared Aitchison Distance, Squared Bias...

Description Usage Arguments Value

View source: R/utils.R

Description

The result is equivalent to Euclidean-type calculation after the compositional vector (e.g., etiologic fraction) is centered-log-ratio (CLRB) transformed. For simulation only.

Usage

1
get_metric(DIR_NPLCM, truth)

Arguments

DIR_NPLCM

File path where Bayesian results are stored

truth

True etiologic fraction vector (must sum to 1) used to generate data

Value

a vector of (Integrated Squared Aitchison Distance (ISAD), bias-squared, variance, truth)


oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.