Learn R Programming

ubiquity (version 1.0.0)

system_view: View Information About the System

Description

Displays information (dosing, simulation options, covariates, etc) about the system.

Usage

system_view(cfg, field = "all")

Arguments

cfg

ubiquity system object

field

string indicating the aspect of the system to display

Value

sequence of strings with system in formation (one line per element)

The field

  • "all" will show all information about the system

  • "parameters" summary of parameter information

  • "bolus" currently set bolus dosing

  • "rate" infusion rate dosing

  • "covariate" covariates

  • "iiv" variance/covariance information

  • "datasets" loaded datasets

  • "simulation" simulation options

  • "estimation" estimation options

Examples

Run this code
# NOT RUN {
# To log and display the current system information:
# }
# NOT RUN {
# Creating a system file from the mab_pk example
fr = system_new(file_name        = "system.txt", 
                system_file      = "mab_pk", 
                overwrite        = TRUE, 
                output_directory = tempdir())

# Building the system 
cfg = build_system(system_file  = file.path(tempdir(), "system.txt"),
      output_directory          = file.path(tempdir(), "output"),
      temporary_directory       = tempdir())

vp(cfg, system_view(cfg))
# }

Run the code above in your browser using DataLab