scarabee.new {scaRabee}R Documentation

Create a scaRabee Analysis Folder

Description

scarabee.new creates a new scaRabee analysis folder.

Usage

  scarabee.new(name = 'myanalysis',
               path = NULL,
               type = 'simulation',
               method = 'population',
               template = 'ode')

Arguments

name

A string of characters defining the name of the master analysis script; name is also appended to the $ANALYSIS tag in the model file. Default is 'myanalysis'.

path

A path where the analysis files must be created. The path must not yet exist.

type

A string of characters, either 'simulation', 'estimation', or 'gridsearch'. Default is 'simulation'.

method

A string of characters, either 'population' or 'subject'. Default is 'population'.

template

A string of characters, either 'explicit', 'ode' or 'dde'. Default is 'ode'.

Details

The content of new scaRabee analysis folder path/ is:

name.R

The template-based scaRabee analysis script.

model.txt

A template-based txt file for the definition of the structural model. Depending on template, this text file contains various tags which delimit blocks of R code needed when models are defined with closed form solution ('explicit'), ordinary differential equations ('ode') or delay differential equations ('dde').

data.csv

(optional) An empty comma-separated file for dosing, observations, and covariate information; contains the following default headers: OMIT, TRT, ID, TIME, AMT, RATE, CMT, EVID, DV, DVID, and MDV.

initials.csv

(optional) An empty comma-separated file for initial guesses of model parameter estimates; contains the following default headers: Parameter, Type, Value, Fixed, Lower bound, Upper bound.

If the path argument is NULL, then it is coerced to name, thus creating a new folder in the current working directory.

See vignette('scaRabee',package='scaRabee') to learn about how to specify your model based on those template files.

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)


[Package scaRabee version 1.1-4 Index]