Skip to contents

[Stable]

Sets up a directory tree for a new Pmetrics project

Usage

PM_tree(project = "NewProject", path = getwd())

PMtree(...)

Arguments

project

A character string of a new project name, e.g. "DrugX"

path

The full path to the root folder for the new project. Default is the current working directory.

...

Arguments passed to PM_tree.

Value

A new folder with the name in project and the following subfolders:

  • Rscript The folder containing a skeleton Analysis.R script for the project.

  • Runs The folder for all Pmetrics runs, which will be sequentially numbered.

  • Sim The folder for all simulations related to the project.

  • src The folder for source data files in their original format, to preserve integrity and for audit purposes.

Details

This function will create a new project folder tree with appropriate subfolders and a skeleton R script. You can edit the folder names and add new ones as you wish.

See also

Author

Michael Neely

Examples

if (FALSE) { # \dontrun{
PM_tree("DrugX")
} # }