The independent variable and the categorical moderator are associated. For demonstrating the use of tumble graph.

test_x_1_w_1_v_1_cat1_xw_cov_wcat3_n_500

Format

A data frame with 500 rows and 5 variables:

dv

Dependent variable, continuous

iv

Independent variable, continuous

mod

Moderator variable, categorical (string) with three categories, "City Alpha", "City Gamma", and "City Beta"

v1

Covariate, continuous

cat1

Covariate, categorical (string) with three values, "gp1", "gp2", and "gp3"