[R] Display data by condition

Juan Ceccarelli Arias jfca283 at gmail.com
Thu Mar 16 16:16:29 CET 2017


Hello,
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:

View(data[data$fact>5000])

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]]



More information about the R-help mailing list