plotMetric {epistack}R Documentation

plotMetric()

Description

Plot a vertical line chart of the metric column, in the same order as the input.

Usage

plotMetric(
  x,
  trans_func = function(x) x,
  title = "Metric",
  ylim = NULL,
  xlab = NULL
)

Arguments

x

a numeric vector.

trans_func

a function to transform x values before ploting. Useful to apply log10 transformation (i.e. with trans_func = function(x) log10(x+1)).

title

Title of the plot.

ylim

limit of the y axis; format: ylim = c(min, max)

xlab

x-axis title

Value

Display a plot.

See Also

plotEpistack, plotBoxMetric

Examples

data("stackepi")
plotMetric(stackepi$exp)



[Package epistack version 1.0.0 Index]