Learn R Programming

pharmr (version 2.2.0)

run_pdsearch: run_pdsearch

Description

Build a PD model

Usage

run_pdsearch(
  input,
  type,
  treatment_variable = NULL,
  kpd_driver = "ir",
  algorithm = "stepwise",
  data_strategy = "full",
  results = NULL,
  strictness = "minimization_successful or (rounding_errors and sigdigs>=0.1)",
  parameter_uncertainty_method = NULL,
  ...
)

Value

(PDSearchResults) PDSearch tool results object.

Arguments

input

(str or Model) A PD/KPD dataset or PD/KPD model

type

(str) Type of PD model to build ('pd' or 'kpd')

treatment_variable

(str (optional)) Name of the variable representing the treatment, e.g. TRT, DOSE or AUC. Do not use if type is 'kpd'

kpd_driver

(str) Driver for KPD model (virtual infusion rate 'ir' or 'amount')

algorithm

(str) Which search algorithm to use. Either 'stepwise' or 'exhaustive_stepwise'

data_strategy

(str) Strategy for using the dataset: 'full', 'partial' or 'fix'

results

(ModelfitResults (optional)) Results to input model

strictness

(str) Strictness criteria

parameter_uncertainty_method

(str (optional)) Parameter uncertainty method. Will be used in ranking models if strictness includes parameter uncertaint

...

Arguments to pass to tool