RunProfilePertubation: Execute an NLME profile perturbation

View source: R/profile_estimation.r

RunProfilePertubationR Documentation

Execute an NLME profile perturbation

Description

Execute an NLME profile perturbation

Usage

RunProfilePertubation(
  hostPlatform,
  dataset,
  params,
  profiles,
  sortColumns,
  scenarios = list(),
  runInBackground = FALSE,
  workingDir = NULL
)

Arguments

hostPlatform

How to execute the run(NlmeParallelHost)

dataset

Dataset and model information(NlmeDataset)

params

Engine parameters(NlmeEngineExtraParams)

profiles

Profiles to perturbate(ProfileParameters)

sortColumns

Optional list of columns to sort and fit(SortColumns)

scenarios

Optional list of scenarios to fit(NlmeScenario)

runInBackground

TRUE will run in background and return prompt(Bool)

workingDir

Directory in which to run the job. Current working directory is used if NULL

Value

Object of class ProfileNlmeJob

Examples


  dataset <- NlmeDataset()

  params <- NlmeEngineExtraParams(
    method = 3,
    num_iterations = 1000
  )
  host <- hostParams(parallelMethod = "None",
                    hostName = "local",
                    numCores = 1)
  sortColumns <- SortColumns("")
  profile1 <- ProfileVar("tvV", 9.548, "-2,-1,0,1,2")
  profile2 <- ProfileVar("tvCl", 0.919, "-0.5,0,1.5")
  profiles <- ProfileParameters("USE_DELTA", c(profile1, profile2))
  # dataFile, colDefFile, modelFile are assumed to be written to the working directory
  job <- RunProfilePertubation(host, dataset, params, profiles, sortColumns, scenarios)


Certara.RsNLME documentation built on April 3, 2025, 11:04 p.m.