Sorry if I'm posting this in the wrong space. It's my first post. I keep getting the error code "Error: unexpected ',' in" even though my code looks fine to me. I'm probably missing something as I'm new to R
GINCTOT <- cut(data1$INCTOT, breaks=(0, 213300, 46153, 138460, 200000, Inf), labels=c("Poverty", "Low Income", "Middle Class", "High Income", "1%"))
I'm using income data from IPUMS CPS and am trying to break up the data. Any help I can get is appreciated