setup_folders: A function to create the main directory used in the workflow.

View source: R/setup_folders.R

setup_foldersR Documentation

A function to create the main directory used in the workflow.

Description

This function allows you to build the directories for editing R and Stan code.

Usage

setup_folders(path = path, import_code = TRUE, overwrite = FALSE)

Arguments

path

Full path to where folder will be stored. This folder will be called "PrisonersDilema".

import_code

If TRUE, this will import R and Stan template code from the PrisonR R package, and save it in the new directory.

overwrite

Setting this to TRUE will OVERWRITE existing files!


ctross/PrisonR documentation built on July 1, 2024, 11:23 p.m.