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
Usage
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
)
Value
a tbl of correlations, means and sds
Arguments
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