Heatmaps and summary plots for model performance
heat_map.Rd
heat_map
generates a heatmap for model accuracy evaluation along
two continuous variables and up to two categorical values. Instead
heat_sum
summarise the heatmap over opne of the two continuous and
crossed variables.
Usage
heat_map(
simu,
x,
y,
stat,
grp1,
grp2,
conversion,
ttl,
x_lab,
y_lab,
x_sec = NULL,
trans_base = -2,
trans_n = 10,
save = FALSE
)
Arguments
- simu
Performance for test statistics on intra-analysis isotope variability ("intra") or inter-analysis isotope variability ("inter").
- x
Variable (continuous variable number one) isotope offset in paper.
- y
Variable (continuous variable number two) excess ionization efficiency in paper.
- stat
Numeric for the model accuracy (between 0 and 1).
- grp1
Nominal factorial number one; outlier detection method in paper.
- grp2
Nominal factorial number one; for intra-isotope variability in paper.
- conversion
Named vector for the conversion of the ionization trend to excess ionization efficiency.
- ttl
Character string or expression for the plot title.
- x_lab
Character string or expression for the x-axis label.
- y_lab
Character string or expression for the y-axis label.
- x_sec
Character string or expression for the secondary x-axis label.
- trans_base
Isotope value for the scale transformation for fractional size of the isotope anomaly.
- trans_n
Initial sample size for the scale transformation for fractional size of the isotope anomaly.
- save
Save the produced plot.