I have a data set with two measured variables (liking and closeness). I asked participants about these two variables across three different domains (friends, coworkers, siblings). If I want to determine if closeness "predicts" (I know I'm stuck with correlational data here) liking, how would I test this in R?
I know how to do a basic
lme function, but I'm not quite sure how to add in the random effects of participant.
I've named my variables
relation. Any help you can provide would be much appreciated!