Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

run regression for certain groups in r

lm(y ~ x, data = df, subset = (x_2 == 3)) 
 
PREVIOUS NEXT
Tagged: #run #regression #groups
ADD COMMENT
Topic
Name
9+3 =