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

In R when using count function, how to just extract the int value from the tibble?

$
0
0

For example:

data("cars")
count(cars)

I will get a tibble of 1x1, but I would like to assign the count which was 54 into a variable to use later. If I use Select I also get a tibble back, I just want a variable with an int value.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



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