Learn R Programming

invivoPKfit (version 2.0.1)

pk_add.uneval: Add an `uneval` object

Description

Add an object created by [ggplot2::aes()]

Usage

# S3 method for uneval
pk_add(pkproto_obj, pk_obj, objectname)

Value

The [pk()] object, modified by adding the new mapping.

Arguments

pkproto_obj

The `uneval` (mapping) object to be added.

pk_obj

The [pk()] object to which the `uneval` object will be added.

objectname

The name of the `uneval` object.

Author

Caroline Ring

Details

This function adds a new variable mapping (created by [ggplot2::aes()]), which has class `uneval`, to an existing [pk()] object.

The new mapping will completely replace any existing mapping.