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

Description Usage Arguments Value

View source: R/get-metric.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-releases/baker documentation built on Nov. 4, 2019, 11:11 p.m.