Description Usage Arguments Details Author(s) See Also
Plots the coefficient function/image estimates produced by wcr
and wnet
.
1 2 3 4 5 6 | ## S3 method for class 'wcr'
plot(x, xlabel = "", ylabel = "Coefficient function", which.dim = 1, slices = NULL,
set.mfrow = TRUE, image.axes = FALSE, ...)
## S3 method for class 'wnet'
plot(x, xlabel = "", ylabel = "Coefficient function", which.dim = 1, slices = NULL,
set.mfrow = TRUE, image.axes = FALSE, ...)
|
x |
an object of class |
xlabel, ylabel |
for 1D functional predictors, x- and y-axis labels. |
which.dim, slices |
for 3D image predictors, the dimension (1, 2 or 3) and slices to use for plotting; see Details. |
set.mfrow |
logical value: for 3D predictors, if |
image.axes |
for 2D and 3D predictors, the |
... |
additional parameters passed to |
As an example of how which.dim
and slices
are used, suppose we set which.dim=2
and slices=7:9
. Then three 2D slices of the coefficient image estimate x$fhat
are displayed: x$fhat[ , 7, ]
, x$fhat[ , 8, ]
, and x$fhat[ , 9, ]
.
Lan Huo lan.huo@nyumc.org
wcr
and wnet
; the latter includes examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.