powered by
Counts how many observations (optionally, satisfying a condition)
count(ifstmt = NULL)
an optional argument which gives an condition that must be met for the observation to be counted
returns NULL, invisibly
# NOT RUN { use(cars, clear=TRUE) count() count("speed <= 20") # }
Run the code above in your browser using DataLab