The given FIM is plotted as a heatmap, with one tile for each matrix element.

plotFim(fim, vars = NULL, log = TRUE, label = FALSE)

Arguments

fim

A matrix with row and column names containing the FIM, as produced by calcFimFromMatrix or calcFimFromModel.

vars

Vector of names of parameters to be included in the plots. If NULL (default) or missing, all parameters in the FIM are used.

log

If TRUE (default), then the FIM values are shown on the log scale. If FALSE, then not.

label

If TRUE, then the heatmap is labelled with the FIM values. If FALSE (default), then not.

Value

A plot.

Details

If on log scale, the heatmap uses separate color gradients for positive and negative values, if possible. If this is not possible (it requires the package ggnewscale), then negative values are indicated by a '-' symbol. Optionally, the heatmap is labelled with the matrix values.

See also

Other plotting and printing: plotAliasing(), plotSensitivities(), plotVariations(), print.keepattr()

Author

Martijn van Noort