Description Usage Arguments Details Value Author(s) See Also Examples
A template function that gets the data from a file and converts it to a dark object for use by other scripts. The script can be modified to format the data. A dark object has time data in minutes and thresholds in log units. If the data have been collected in other units then the script should convert them.
The script defaults to returning data generated by TestData
.
1 | GetData(path, .....)
|
path |
This is the location of the data and will usually be a file path string. |
..... |
This can be any other values that might be needed to identify the data, e.g. subject number or study reference. |
This script can be altered in any way desired and then saved with a different name. I suggest the format 'GetData....R', where the ellipsis describes the data in some way.
A dark object with at least two elements
time |
the time elapsed after measurements begin in minutes |
thrs |
the thresholds recorded in log units |
other possible values include
data |
the name of the data source |
init |
initial estimates of the optimal model parameters |
opt |
optimal estimates of the optimal model parameters |
resid |
the residuals of the data for an optimal model |
... |
others to be added |
Jeremiah MF Kelly
Faculty of Life Sciences, The University of Manchester, M13 9PL, UK
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.