View source: R/prep_metadata.r
getap | R Documentation |
Read in the analysis procedure from the default or a custom
analysis procedure file located in the metadata-folder. By providing any of
the arguments of the analysis procedure file (see anproc_file
)
to the function you can override the values in the file with the provided
values.
getap(fn = "def", ...)
fn |
Character length one. The filename of the analysis procedure file to load. If left at 'def', the default filename for an analysis procedure file as specified in the settings (factory default is "anproc.r") is read in. Provide any other valid name of an analysis procedure file to load it. (Do not forget the '.r' at the end.) |
... |
Any of the arguments of the analysis procedure - please see
|
The name of the default analysis procedure file can be specified in
the settings. The provided value and defaults will be checked in
gdmm
and the resulting aquap_cube
contains the
final analysis procedure in its slot @anproc.
An (invisible) list with the analysis procedure.
anproc_file
, getmd
, gdmm
## Not run:
ap <- getap(); str(ap); names(ap)
ap <- getap("myFile.r")
ap <- getap(pca.colorBy="C_Group") # change the value of 'pca.colorBy'
from the .r file to 'C_Group'
ap <- getap(do.sim=FALSE) # switch off the calculation of SIMCA models
ap <- getap(spl.var="C_Group") # change the split variable to "C_Group"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.