readData | R Documentation |
Reads a single element of replicate, macro evaluation or micro evaluation data from the current scenario
readData(
dataNumber,
dataType = c("ReplicateData", "MicroEvaluation", "MacroEvaluation"),
variables = NULL,
workingPath = getwd(),
method = getEctdDataMethod()
)
dataNumber |
(Required) The number of the data entry you wish to read. This number must be between 0 and 9999 |
dataType |
(Optional) The type of data you wish to read - either "ReplicateData", "MacroEvaluation" or "MicroEvaluation". By default, "ReplicateData" is used |
variables |
(Optional) The variables that must be in the data to continue. No variables are provided by default (so no variable check is performed) |
workingPath |
(Optional) The working path of the current scenario. By default, the current working directory is used |
method |
(Optional) Data storage method (i.e. where to extract the data from). Given by getEctdDataMethod by default |
readData will return a data frame containing the desired element of data if it exists.
Mike K Smith mstoolkit@googlemail.com
writeData
## Not run:
readData(dataNumber = 10, dataType = "Macro")
readData(dataNumber = 1, dataType = "Replicate")
readData(dataNumber = 800, dataType = "Micro")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.