Learn R Programming

aNCA (version 0.1.0)

preprocess_data_for_plot: Prepare Data for PK Lineplot

Description

Prepare Data for PK Lineplot

Usage

preprocess_data_for_plot(
  data,
  selected_usubjids,
  selected_analytes,
  selected_pcspec,
  colorby_var,
  time_scale,
  yaxis_scale,
  cycle
)

Value

A processed and filtered data.frame.

Arguments

data

Raw data frame.

selected_usubjids, selected_analytes, selected_pcspec, cycle

Inputs for filtering.

colorby_var

The variable(s) to be used for coloring.

time_scale

String, either "By Dose Profile" or "Actual Time".

yaxis_scale

String, either "Log" or "Linear".