Description Usage Arguments Details Value Examples
Draws Loadings plots for the SVDforPCA, PLSDA or OPLSDA functions.
1 2 3 4 5 |
obj |
The objects resulting from a PCA, PLSDA or OPLSDA analysis. |
type.obj |
The type of object to be plotted. |
createWindow |
If |
main |
Plot title. If |
axes |
Numerical vector indicating the PC axes that are drawn. |
loadingstype |
The type of Loadings plot, either a line plot ( |
num.stacked |
Number of stacked plots. |
xlab |
Label for the x-axis. |
ylab |
Label for the y-axis. |
ang |
Angle to rotate the x axis labels for a better visualisation, either 0, 45 or 90 degrees. |
xaxis_type |
Specify if the xaxis is numerical or character |
nxaxis |
Number of thick marks on the xaxis for a character x variable |
hline |
Numerical scalar. If not |
xaxis_size |
Size of the x axis. |
Better results printing is obtained by saving the plot as an object
A loading plot in the current device.
1 2 3 4 5 6 | data('UCH')
PCA.res = SVDforPCA(UCH$outcomes)
DrawLoadings(PCA.res, type.obj = 'PCA',
createWindow = FALSE, main = 'PCA loadings plot for UCH dataset',
axes = 1, loadingstype='l', xlab = "L1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.