| plot,aquap_cube,missing-method | R Documentation |
Plot all available analysis graphics from the models in the
cube-object. Function plot is a convenience function, it basically
calls plot_cube, what is the work-horse for plotting the
cube-object.
## S4 method for signature 'aquap_cube,missing'
plot(x, y, ...)
plot_cube(x, what = "all", ...)
x |
An object of class 'aquap_cube' as produced by |
y |
will be ignored |
... |
Additional parameters to override the values of the graphical
parameters in the analysis procedure and to override the defaults of the
arguments in the underlying plotting functions like e.g.
|
what |
Character length one. What type of analysis to plot. Possible values are 'all', 'pca', 'sim', 'pls', 'aqg', 'da', 'rnf', 'svm', 'nnet'. |
The graphical parameters for plotting are obtained either from the
standard analysis procedure file, from a custom analysis procedure file, or
from the analysis procedure embedded in the cube when it was generated via
gdmm. To specify the source of the analysis procedure and so of
the plottig parameters use the argument aps in the ... argument;
the default for aps is "def", meaning that the default value as stored
in the settings.r file (parameter gen_plot_anprocSource) is obtained.
Generally, via the ... argument it is possible to
override any of the plotting parameters. Please see anproc_file
for a complete listing and e.g. plot_pca_args and there the other
functions of the 'Plot arguments' family for a separate listing of possible
arguments. Consult the documentation for the other plot functions like e.g.
plot_pca for the arguments in the underlying plot functions
not contained in the analysis procedure – see examples.
A PDF or graphic device.
plot_spectra
Other Core functions:
exportSampleList(),
gdmm(),
getFullData(),
plot,aquap_data,missing-method
Other Plot functions:
plot,aquap_data,missing-method,
plot_aqg(),
plot_classifX_indepPred(),
plot_da,aquap_cube-method,
plot_nnet,aquap_cube-method,
plot_pca,aquap_cube-method,
plot_pls,aquap_cube-method,
plot_pls_indepPred(),
plot_rnf,aquap_cube-method,
plot_simca,aquap_cube-method,
plot_svm,aquap_cube-method
## Not run:
dataset <- gfd()
cube <- gdmm(dataset)
plot(cube)
plot(cube, what="all") # the same as above
plot(cube, what="pca")
plot(cube, what="pca", pg.main="FooBar") # add "FooBar" to main
plot(cube, what="pca", aps="foo.r", ld.col=c("green", "blue")) # to load the
# analysis procedure from a file called "foo.r", and to have the loadings in
# the pca drawn in green and blue.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.