Learn R Programming

tldr (version 0.3.0)

cont_compare: Compare a numerical variable across levels of a categorical variable

Description

Deprecated. Use `num_compare` instead.

Usage

cont_compare(y, grp, plot = c("density", "boxplot", "none"))

Value

Returns a list including (1) group-wise summary statistics, (2) ANOVA decomposition, (3) eta-squared effect size, and (4) ggplot2 object, if requested.

Arguments

y

A numerical variable

grp

A categorical variable

plot

Type of plot to produce