cor_table: Correlation table

Description Usage Arguments See Also Examples

Description

Correlation table

Usage

1
2
cor_table(data, adjust = NULL, labels = names(data), format = c("text",
  "html", "latex", "markdown", "rmarkdown"), part = c("lower", "upper"))

Arguments

data

a data frame

adjust

character string indicating the method used for adjusting p-values for muliple comparisons. See p.adjust.methods for available methods. If is NULL, no adjustment is applied (default).

labels

character vector indicating the labels used for header row and first column

format

character string indicating the output format, one of "text", "html" or "latex". For HTML, the table is displayed as a htmlwidget. For LaTeX, the tabularx environment is used, which requires the tabularx package.

part

character string indicating which part of the correlation matrix should be printed, can be either "lower" or "upper".

See Also

cor

Examples

1

dgromer/psymisc documentation built on May 15, 2019, 7:22 a.m.