[R] Display data by condition
jholtman at gmail.com
Thu Mar 16 21:19:18 CET 2017
you are probably missing a comma:
View(data[data$fact > 5000, ])
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Thu, Mar 16, 2017 at 11:16 AM, Juan Ceccarelli Arias <jfca283 at gmail.com>
> I need to show the observations of a data set only if the earn more than
> $5000 (fact is its name in the date set). I use this:
> The code above shows nothing. No error or message at all.
> What am i doing wrong?
> Thanks for your help and time.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help