Learn R Programming

Certara.RsNLME (version 3.1.0.1)

profilePertubate: Executes an NLME profile perturbation

Description

Executes an NLME profile perturbation

Usage

profilePertubate(
  hostPlatform,
  params = NULL,
  profiles,
  model = NULL,
  sortColumns = SortColumns(""),
  scenarios = list(),
  runInBackground = FALSE
)

Value

List of results from NLME execution.

Arguments

hostPlatform

How to execute the run(NlmeParallelHost)

params

Engine parameters(NlmeEngineExtraParams)

profiles

Profiles to perturbate(ProfileParameters)

model

PK/PD model

sortColumns

Optional list of columns to sort and fit(SortColumns)

scenarios

Optional list of scenarios to fit(NlmeScenario)

runInBackground

Set to TRUE to run in background and return prompt(Bool)

Examples

Run this code
if (FALSE) {
  model <- pkmodel(
    parameterization = "Clearance",
    numCompartments = 2,
    data = pkData,
    ID = "Subject",
    Time = "Act_Time",
    A1 = "Amount",
    CObs = "Conc",
    workingDir = tempdir()
  )

  params <- NlmeEngineExtraParams(
    method = 3,
    numIterations = 1
  )

  host <- hostParams(
    sharedDirectory = tempdir(),
    parallelMethod = "MULTICORE",
    hostName = "local",
    numCores = 4
  )

  profile1 <- ProfileVar(
    "tvV",
    9.548,
    "-2,2"
  )

  profile2 <- ProfileVar(
    "tvCl",
    0.919,
    "-0.5,1.5"
  )

  profiles <- ProfileParameters(
    "USE_DELTA",
    c(profile1, profile2)
  )

  job <- profilePertubate(
    hostPlatform = host,
    params = params,
    profiles = profiles,
    model = model
  )
}

Run the code above in your browser using DataLab