system_load_data function

Loading Datasets

Loading Datasets

Loads datasets at the scripting level from a variable if data_file is a data.frame or from the following formats (based on the file extension)

  • csv - comma delimited
  • tab - tab delimited
  • xls or xlsx - excel spread sheet

Multiple datasets can be loaded as long as they are given different names. Datasets should be in a NONMEM-ish format with the first row containing the column header names.

system_load_data(cfg, dsname, data_file, data_sheet)

Arguments

  • cfg: ubiquity system object
  • dsname: short name of the dataset to be used to link this dataset to different operations
  • data_file: the file name of the dataset or a data frame containing the data
  • data_sheet: argument identifying the name of the sheet in an excel file

Returns

Ubiquity system object with the dataset loaded

  • Maintainer: John Harrold
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-01-07