plot_tracer: Plot the tracer breakthrough curve

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

Plot the tracer breakthrough curve

Usage

1
2
3
4
5
6
7
8
plot_tracer(
  tracer_data,
  time_threshold = NULL,
  xlab_tag = "Time (sec)",
  ylab_tag = expression(c/c[0]),
  file_name = NULL,
  save_pdf = FALSE
)

Arguments

tracer_data

tibble or data.frame. Tracer breakthrough data. The first column must be time, the second the tracer concentration.

time_threshold

numeric. Time of the breakthrough (i.e. start of the concentration increase)

xlab_tag

string or expression for the x label. Default is Time (sec).

ylab_tag

string or expression for the y label. Default is c/c0.

file_name

string. The name for the pdf file to save the figure. Default is NULL.

save_pdf

logical. Should de figure be saved to a pdf file. Default is FALSE.

Value

ggplot object

Examples

1
2
data(tracer)
plot_tracer(tracer_data = tracer, time_threshold = 40000)

ChrisBogner/ViscousFlow documentation built on June 13, 2021, 7:47 a.m.