Facilitate Writing Documents in American Psychological Association Style, Seventh Edition


[Up] [Top]

Documentation for package ‘apa7’ version 0.1.0

Help Pages

add_break_columns Add break columns
add_list_column Make a column into a list column
add_star_column Adds stars next to a column based on p-values
align_chr Align text on center text (default is decimal)
apa7_defaults Set defaults for apa7 package
apa_chisq Make contingency table with chi-square test of independence
apa_cor APA-formatted correlation table
apa_flextable Convert data to flextable consistent with APA style
apa_format_columns Format data columns
apa_loadings print loadings
apa_p p-value in APA format
apa_parameters format model parameters in APA style
apa_parameters.list format model parameters in APA style
apa_parameters.lm format model parameters in APA style
apa_performance format model performance metrics in APA style
apa_performance.lm format model performance metrics in APA style
apa_performance_comparison format model comparison metrics in APA style
apa_p_star_note Make star notes for p-values
apa_style Style 'flextable::flextable' object according to APA style
bold_md Surrounds text with tags unless empty
column_format Column format class
column_formats Create a set of column formats
column_spanner_label Prepend column spanner labels to data column labels
hanging_indent Return markdown text with hanging indent
header_md Surrounds text with tags unless empty
install_apaquarto Installs the apaquarto extension.
is_numeric_like Tests if a character vector contains numeric-like values
italic_md Surrounds text with tags unless empty
make_apaquarto Run shiny app to make a document in APA style via Quarto
num_pad Pads text on the left or right so that the width is the same for each element of the vector
p2stars Convert p-values to stars
pivot_wider_name_first A wrapper for tidyr::pivot_wider that creates columns names as 'name_variable' instead of 'variable_name'
pretty_widths Use flextable::dim_pretty to fit column widths
separate_star_column Add columns that separate significance stars from numbers
star_balance Prefix text with figure spaces to balance star text
str_wrap_equal Like 'stringr::str_wrap', but attempts to create lines of equal width
subscript_md Surrounds text with tags unless empty
superscript_md Surrounds text with tags unless empty
tagger Surrounds text with tags unless empty