ectdDataMethod: Current data storage method

Description Usage Arguments Details Value Author(s) Examples

Description

Gets and sets the current "data storage" method, used for the storage of simulated trial data

Usage

1
2

Arguments

method

(Required) The data storage method to use (either 'CSV', 'RData' or 'Internal'

Details

Gets (getEctdDataMethod) and sets (setEctdDataMethod) the current "data storage" method, used for the storage of simulated trial data. The choices of storage method are: * CSV - Replicate data stored in seperate CSV files outside of R * RData - Replicate data stored in seperate RData files outside of R * Internal - Replicate data stored as a list of data frames in an internal environment (.ectdEnv$DataStore)

Note: The data storage only impacts replicate data - micro and macro evaluation data is always held as CSV files

Value

The "getEctdDataMethod" function returns the current data method ("CSV", "RData" or "Internal") The "setEctdDataMethod" function invisibly returns the method that has just been set as the default

Author(s)

Mike K Smith mstoolkit@googlemail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 

	nowMethod <- getEctdDataMethod()
	
	setEctdDataMethod("CSV")
	getEctdDataMethod()
	
	setEctdDataMethod("RData")
	getEctdDataMethod()
	
	setEctdDataMethod("Internal")
	getEctdDataMethod()

	setEctdDataMethod(nowMethod)
	

## End(Not run)

MSToolkit documentation built on May 2, 2019, 6:30 p.m.