Description Usage Arguments Details Value See Also Examples
Plot method for object returned from TRR.fit
and TPR.fit
functions.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
An object of class |
level |
The significant level of p-value. Default is 0.05. |
main |
The title of coefficient plot. |
main_p |
The title of p-value plot. |
xlab |
The title of x-axis. |
ylab |
The title of y-axis. |
axes |
A logical value specifying whether the axes should be drawn. |
ask |
A logical value. If it is TRUE (default), user is prompted before the second plot is shown (if exists). |
... |
Other parameters to be passed to the plotting functions. |
coef(x)
must be a two-way tensor or a matrix.
Since p-value depend on \widehat{\mathrm{cov}}^{-1}\{\mathrm{vec}(\mathbf{X})\} which is unavailable for the ultra-high dimensional \mathrm{vec}(\mathbf{X}) in tensor predictor regression (TPR), the p-value plot is not provided for the object returned from TPR.fit
.
Therefore, for the object return from TPR.fit
, only the coefficients plot is displayed. And for the object return from TRR.fit
, both the coefficients plot and p-value plot are displayed.
main
and main_p
control the titles of coefficient plot and p-value plot separately. Some other arguments used in function graphics::image
, e.g., xlim, ylim, zlim, col, xaxs, yaxs, etc.,
can be passed to ...
ask
can be set as FALSE
if the pause before the second plot is not preferred. If x
is an object from TPR.fit
, no pause is enabled.
No return value.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.