Questions tagged [r]

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

Filter by
Sorted by
Tagged with
3
votes
2answers
43 views
+50

How to do within group moderation analysis without subsetting data

Let's say I run the following regression specification: lm(outcome ~ treatment) Where treatment is a factor variable that can take four values ...