ABSTRACT

There are lots of ways of creating a function to count the number of numeric columns. Here’s a simple implementation.

This implementation doesn’t check that the input is a data frame – we’ll discuss how to check for this in Chapter 2.