Add stats of the model to the plot
1 2 3 |
model |
object of class 'mvr' |
ncomp |
a vector of positive integers. The components or number of components to use. See below. |
estimate |
can be "train", "CV" or "test". In case of "test", newdata must be provided. |
location |
location of legend on graph. Look up legend for more details. |
show |
choose variables to show in the plot |
round |
number of digits to round |
newx |
predictors for test group |
newy |
measured value for test group |
fitline |
logical argument whether to add fitline or not |
... |
additional arguments for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.