plot_factors | R Documentation |
plot_factors
plots various aspects of the transdiagnostic factor
derivation, including histograms and heatmaps of the questions themselves.
plot_factors(
df,
plot_type,
colnames = NA,
titles = NA,
r2 = NA,
qn = NA,
hyp_alph = 0.1,
grouped = FALSE,
pal = NULL,
font = "",
font_size = 11
)
df |
Data frame with factor scores or questions to plot. For
|
plot_type |
Plot(s) to output: |
colnames |
Column names to get data from. |
titles |
Title(s) for the plot(s) or pretty names more generally. |
r2 |
Array of |
qn |
Number of questions - used to find correct |
hyp_alph |
Chosen alpha value (used to draw a dotted line on an
|
grouped |
. |
pal , font , font_size |
Same as plot_import. |
A single or list
of ggplot
object(s).
# See the notebook (data_cleaning_factor_derivation.ipynb) for examples as
# it requires Python input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.