as_md_tbl | R Documentation |
Coerce matrix_data to data frames
as_md_tbl(x, ...)
## S3 method for class 'matrix_data'
as_md_tbl(x, ...)
## S3 method for class 'grouped_matrix_data'
as_md_tbl(x, ...)
## S3 method for class 'mantel_tbl'
as_md_tbl(x, byrow = TRUE, ...)
## S3 method for class 'easycorrelation'
as_md_tbl(x, type = "full", diag = TRUE, ...)
## S3 method for class 'correlate'
as_md_tbl(x, ...)
## S3 method for class 'grouped_correlate'
as_md_tbl(x, ...)
## S3 method for class 'rcorr'
as_md_tbl(x, ...)
## S3 method for class 'corr.test'
as_md_tbl(x, ...)
## S3 method for class 'data.frame'
as_md_tbl(
x,
name = NULL,
row_vars = NULL,
col_vars = NULL,
group_vars = NULL,
row_names = NULL,
col_names = NULL,
is_corr = FALSE,
r_vars = NULL,
p_vars = NULL,
...
)
## S3 method for class 'matrix'
as_md_tbl(x, ...)
## S3 method for class 'md_tbl'
as_md_tbl(x, ...)
## S3 method for class 'md_tbl'
as_md_tbl(x, ...)
x |
any |
... |
other parameters. |
byrow |
a logical value indicating whether arrange the 'spec' columns on y axis. |
type |
character, "full" (default), "upper" or "lower", display full matrix, lower triangular or upper triangular matrix. |
diag |
logical, if TRUE (default) will keep the diagonal of matrix data. |
name |
variable name. |
row_vars, col_vars, group_vars |
variable name of row/column/group id. |
row_names, col_names |
character, row/column names of matrix. |
is_corr |
if TRUE, the data will be regarded as the correlation coefficient. |
r_vars |
variable name of correlation coeffient column. |
p_vars |
variable name of p value column. |
a tibble object.
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.