| plot.fanc | R Documentation |
This function plots the solution paths or heatmaps from a "fanc" object.
By default it opens a self-contained, interactive HTML viewer in the browser or
RStudio viewer pane (no additional packages required). The viewer has sliders
for rho and gamma, buttons that jump to the model selected by AIC,
BIC, CAIC or EBIC, and an overview mode showing every rho along the path
at once. All data and code are embedded in the page, so it runs without a
server and can be saved and shared as a single file via the file
argument.
## S3 method for class 'fanc'
plot(x, Window.Height=500, type=NULL, df.method="active",
viewer=c("auto", "html", "base"), file=NULL,
rho.index=1, gamma.index=1, ...)
x |
Fitted |
Window.Height |
Maximum plot height in pixels for the HTML viewer. It does not change the internal layout of base R plots. It must be between 250 and 2000. The default is 500. |
type |
Two plot types are supported. If |
df.method |
Two types of degrees of freedom are supported. If
|
viewer |
Viewer backend. |
file |
Optional path for the generated HTML file. When |
rho.index |
Initial index of the |
gamma.index |
Initial index of the |
... |
Reserved for compatibility; currently unused. |
For viewer="html" the path to the generated HTML file (invisibly);
otherwise NULL (invisibly). Called for the side effect of drawing or
opening the viewer.
Kei Hirose
mail@keihirose.com
Hirose, K. and Yamamoto, M. (2015).
Sparse estimation via nonconcave penalized likelihood in a factor analysis model,
Statistics and Computing, 25, 633–648.
fanc and out objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.