Learn R Programming

SGP (version 1.1-0.0)

testSGP: Test SGP Package functions

Description

testSGP runs large scale tests of the SGP package to test for consistent performance across releases.

Usage

testSGP(TEST_NUMBER,
	save.results=FALSE,
	memory.profile=FALSE)

Arguments

TEST_NUMBER
An integer indicating the test to be run. Type 'testSGP()' to see list and description of available tests.
save.results
A boolean variable, defaulting to FALSE, indicating whether the results of the analysis is saved to the working directory.
memory.profile
A boolean variable indicating whether to use memory profiling via Rprof. Experimental. Defaults to FALSE.

Value

  • Returns output associated with functions being run.

See Also

abcSGP

Examples

Run this code
## testSGP(1) runs abcSGP for all years in sgpData_LONG
testSGP(1)

## testSGP(2) runs abcSGP for all years in sgpData_LONG except most recent year than adds 
## in most recent year and runs current year analyses
testSGP(2)

Run the code above in your browser using DataLab