How to delete a value in a variable?

I have this variable:
Income
1
3
4
0
2

How do I delete 0 from income variable?

var[var > 0], this should work.

You should also look into filter from dplyr

1 Like

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.