crosstable0.8.1 package

Crosstables for Descriptive Analyses

apply_labels

Batch set variable labels

as_flextable

Turns a crosstable object into a formatted flextable

as_gt

Converts a crosstable object into a formatted gt table.

as_workbook

Converts a crosstable object into a formatted, savable openxlsx wo...

body_add_crosstable_footnote

Adds a standard footnote explaining the abbreviations used in a crosst...

body_add_crosstable

Add a crosstable to an officer document

body_add_gg2

Alternative to officer::body_add_gg() which uses ggplot syntax

body_add_img2

Alternative to officer::body_add_img() which adds a units choice

body_add_legend

Add a legend to a table or a figure

body_add_list

Add a list to an officer document

body_add_normal

Add a new paragraph with default style

body_add_table_list

Add a list of tables

body_add_table_section

Add a section with a table and its legend

body_add_title

Add a title to an officer document

body_replace_text_at_bkms

Replace text on several bookmarks at once

clean_names_with_labels

Cleans names of a dataframe while retaining old names as labels

confint_numeric

Confidence interval of a numeric vector

cross_summary

Summarize a numeric vector

crosstable_effect_args

Default arguments for calculating and displaying effects in `crosstabl...

crosstable_options

Options for the package crosstable

crosstable_peek_options

See which crosstable option is currently set.

crosstable_reset_options

Reset all crosstable options.

crosstable_test_args

Default arguments for calculating and displaying tests in `crosstable(...

crosstable-package

crosstable: Crosstables for Descriptive Analyses

crosstable

Easily describe datasets

ct_compact

Generic function to compact a table (publication formatting)

display_effect

Default function to display the effect

display_test

Default function to display a test result

docx_bookmarks2

List Word bookmarks, including the ones in header and footer

effect_summary

Effect measure for association between one continuous and one categori...

effect_survival

Effect measure for association between one censored variable and one c...

effect_tabular

Effect measure for association between two categorical variables

format_fixed

Format numbers with the exact same number of decimals, including trail...

generate_autofit_macro

Generate a macro file for autofitting

get_label

Get label if wanted and available, or default (name) otherwise

get_percent_pattern

Percent pattern helper

import_labels

Import labels

is.crosstable

Test if an object is a crosstable

N

Return the number of non NA observations

na

Return the number of NA observations

narm

Remove missing values

peek

Open a crosstable in a temporary document

pivot_crosstable

Pivot a crosstable

plim

Format p values (alternative to format.pval())

reexports

Objects exported from other packages

remove_labels

Remove all label attributes.

rename_with_labels

Rename every column of a dataframe with its label

set_label

Set the "label" attribute of an object

summaryFunctions

Summary functions

test_correlation_auto

test for correlation coefficients

test_summarize_auto

test for mean comparison

test_summarize_linear_contrasts

Test for linear trend across ordered factor with contrasts

test_survival_logrank

test for survival comparison

test_tabular_auto

test for contingency table

transpose_crosstable

Transpose a crosstable

write_and_open

Alternative to default officer print() function. Write the file and ...

Create descriptive tables for continuous and categorical variables. Apply summary statistics and counting function, with or without a grouping variable, and create beautiful reports using 'rmarkdown' or 'officer'. You can also compute effect sizes and statistical tests if needed.

  • Maintainer: Dan Chaltiel
  • License: GPL-3
  • Last published: 2024-11-01