View source: R/plot.loadings.R
| plot.loadings | R Documentation | 
Plots loadings as a separate barplot for each factor.
## S3 method for class 'loadings'
plot(x, n = 5, k = ncol(x), mfrow = c(k, 1), ...)
| x | A  | 
| n | Number of components of each factor to plot. | 
| k | Number of factors to plot. | 
| mfrow | Passed to  | 
| ... | Other arguments passed to  | 
The top n components of each of the top k factors
are displayed in a separate barplot.  
Return value is a list of the return values from each barplot
invocation.
barplot
data(m.barra.9003)
rtn <- m.barra.9003
stat.fac <- factanal(rtn, factors = 3)
m.barra.loadings <- loadings(stat.fac)
plot(m.barra.loadings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.