Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201977

Getting R's scales::percent() function to evaluate 100% as greater than 20%

$
0
0

When I type percent(100/100) > percent(20/100), I get [1] FALSE. How do I get it to evaluate as true because 100% is definitely greate than 20%?

Just to confirm that I'm actually trying to evaluate the right numbers

> percent(20/100)
[1] "20%"> percent(100/100)
[1] "100%"

Thank you!


Viewing all articles
Browse latest Browse all 201977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>