system_view: View Information About the System

Description Usage Arguments Value Examples

View source: R/ubiquity.r

Description

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

Usage

1
system_view(cfg, field = "all", verbose = FALSE)

Arguments

cfg

ubiquity system object

field

string indicating the aspect of the system to display

verbose

Boolean variable that when set to true will echo the information to the screen

Value

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

The field

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# To log and display the current system information:

# 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())

  msgs = system_view(cfg, verbose=TRUE)

ubiquity documentation built on Sept. 5, 2021, 5:15 p.m.