Description Usage Arguments Details Author(s) References See Also Examples
Function for plotting coefficients from sparse factor analysis. Returns one of two types of plots: either a summary of estimated dimensionality or a scatterplot of two dimensions.
1 2 |
x |
Object from output of class sfa. |
... |
Additional items to pass to plot. Options below. |
The function produces either a summary of estimated dimensionality or a scatter plot of points between two dimensions. See options below.
type Either "dim" or "scatter". Whether to return a summary of dimensionality or scatterplot between two dimensions.
main, ylabel, xlabel Main title, y axis label, and x axis label.
dims.scatter Which two dimensions to plot against each other.
scatter.by Either row or col. Whether to produce scatterplot of two rows or of two columns.
topbottom Number of points to label at the extreme of each dimension. Only used for type="scatter".
Marc Ratkovic
In Song Kim, John Londregan, and Marc Ratkovic. 2015. "Voting, Speechmaking, and the Dimensions of Conflict in the US Senate." Working paper.
sfa
1 | ## See sfa() for example.
|
Loading required package: directlabels
Loading required package: proto
Loading required package: ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.