plot.dfm | R Documentation |
Plot DFM
## S3 method for class 'dfm'
plot(
x,
method = switch(x$em.method, none = "2s", "qml"),
type = c("joint", "individual", "residual"),
scale.factors = TRUE,
...
)
## S3 method for class 'dfm'
screeplot(x, ...)
x |
an object class 'dfm'. |
method |
character. The factor estimates to use: one of |
type |
character. The type of plot: |
scale.factors |
logical. Standardize factor estimates, this usually improves the plot since the factor estimates corresponding to the greatest PCA eigenvalues tend to have a greater variance than the data. |
... |
for |
Nothing.
# Fit DFM with 3 factors and 3 lags in the transition equation
mod = DFM(diff(BM14_M), r = 3, p = 3)
plot(mod)
plot(mod, type = "individual", method = "all")
plot(mod, type = "residual")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.