Learn R Programming

Certara.RDarwin (version 1.1.1)

get_ModelTermsToMap: Get Model Terms to Map

Description

This function retrieves the model terms that can be mapped from a set of PML models.

Usage

get_ModelTermsToMap(PMLParametersSets)

Value

A list with two elements: "Required" and "Optional," representing the model terms that can be mapped.

Arguments

PMLParametersSets

An object of class "PMLModels" containing PML model parameters.

See Also

create_ModelPK() create_ModelPD() create_CustomSpace()

Examples

Run this code
# Load your PMLModels object
PMLParametersSets <-
  create_ModelPK(
    Absorption = c("First-Order", "Weibull"),
    CObs = Observation(
      ObservationName = "CObs",
      BQL = TRUE),
    A1 = Dosepoint(
      DosepointName = "A1",
      rate = StParm(StParmName = "Rate")),
    Weight = Covariate(
      Name = "Weight",
      Center = "Median")
)

# Get the model terms to map
terms_to_map <- get_ModelTermsToMap(PMLParametersSets)
print(terms_to_map$Required)
print(terms_to_map$Optional)

Run the code above in your browser using DataLab