Hello! Can someone please help me with this homework question?
My first dataset is a list of students in the honors program.
My second dataset is a list of class attendance school wide throughout the 4th Quarter. The honors students are listed within this dataset along with other students as well. Both datasets have a column for Student ID Numbers which identify the unique individual.
I am trying to find how many classes the honors students attended in the second dataset. I have tried this function but R gives me an error code about my input:
results<-merge(x=honors_students,y=Q4_Attendance,by=”ID”,all.x=TRUE)
Can someone please help me craft the right function for this problem?