View source: R/effective_functions.r
lsa | R Documentation |
Produces a linear scatterplot array with marginal histograms
lsa( formula, xlabels = NULL, ylab = NULL, data, ptsize = 1, ptshape = 1, ptcol = "gray65" )
formula |
Formula giving the variables to be plotted. |
xlabels |
Vector of character strings giving the labs of variables to be used in place of the variable names. |
ylab |
Character string giving y-variable label to be used instead of variable name. |
data |
A data frame that holds the variables to be plotted. |
ptsize |
Size of points. |
ptshape |
Shape of points. |
ptcol |
Color of points. |
A cowplot
object.
data(wvs) lsa(formula = as.formula(sacsecval ~ resemaval + moral + pct_univ_degree + pct_female + pct_low_income), xlabels = c("Emancipative Vals", "Moral Perm", "% Univ Degree", "% Female", "% Low Income"), ylab = "Secular Values", data=wvs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.