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
never mind I figured it out
If your problem is solved (even by you ), will you please mark this thread as solved?
In case you don't know how, here's a helpful post:
If your question has been answered, don't forget to mark the solution!
How do I mark a solution?
Find the reply you want to mark as the solution and look for the row of small gray icons at the bottom of that reply. Click the one that looks like a box with a checkmark in it:
[image]
Hovering over the mark solution button shows the label, "Select if this reply solves the problem". If you don't see the mark solution button, try clicking the three dots button ( ••• ) to expand the full set of options.
When a solution is chosen, the icon turns green and the hover label changes to: "Unselect if this reply no longer solves the problem". Success!
[solution_reply_author]
…
1 Like
Could you please edit your answer to include the actual solution to your problem (or the correct code used) this would be useful to others facing the same issue.
system
Closed
March 18, 2019, 2:15pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.