run_pdsearch: run_pdsearch

View source: R/functions_wrapper.R

run_pdsearchR Documentation

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,
  ...
)

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

Value

(PDSearchResults) PDSearch tool results object.


pharmr documentation built on May 28, 2026, 5:08 p.m.