get_params | R Documentation |
Generates a table of the correlations and means of numeric columns in a data frame. If data was generated by sim_design
and has a "design" attribute, between, within, dv and id are retrieved from that, unless overridden (use between = 0 to
get_params(
data,
between = NULL,
within = NULL,
dv = NULL,
id = NULL,
digits = 2
)
check_sim_stats(
data,
between = NULL,
within = NULL,
dv = NULL,
id = NULL,
digits = 2
)
data |
the existing tbl |
between |
a vector of column names for between-subject factors |
within |
a vector of column names for within-subject factors (if data is long) |
dv |
the column name(s) of the dv, if NULL all numeric columns will be selected |
id |
the column name(s) of the subject ID, excluded from the table even if numeric |
digits |
how many digits to round to (default = 2) |
a tbl of correlations, means and sds
get_params(iris, "Species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.