Description Usage Arguments Value Examples
getPlots
calls all or a subset of the plotting functions in Rstox (name starting with plot).
getReports
calls all or a subset of the report functions in Rstox (name starting with report).
1 2 3 |
projectName |
The name or full path of the project, a baseline object (as returned from |
out |
A string vector giving the plot or report functions to run. See getRstoxEnv()$keywords for available keywords. |
options |
A string vector holding the parameters passed on to the plotting functions. These parameters overrides identically named parameters in '...'. The parameters must be formatted as R expressions (as typed into an R console), and separated by semicolons (";"). See examples below:
All the examples in one string: options = "string = 'a string'; stringvec = c('red', 'blue', 'yellow2'); num = 1.55; numvec = c(1.4e-6, 16/3, runif(3)); ok = TRUE; okvec = c( TRUE, FALSE, T, F, runif(3)>0.3 ); arr = array(runif(12), dim=3:4); fun1 = function(x) sin(rev(x)); fun3 = runif" |
... |
Parameters passed on to the plotting functions. |
A vector of file names of the plots or reports.
1 2 3 4 5 6 7 | # View all parameters of plotting functions:
sapply(getFunsRstox("plot"), function(x) names(formals(x)))
projectName <- "Test_Rstox"
# Get all plots:
getPlots(projectName)
# Get all reports:
getReports(projectName)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.