Sapply, aplique la función a todos los datos de datos

sapply(data6, is.numeric)

#The sapply in R is a built-in function that applies a function to all the input elements. 
#The sapply() method takes a list, vector, or data frame as an argument and returns a vector or matrix. 
#The sapply() is an R wrapper class to lapply, with the difference being it returns a vector or matrix instead of a list object.
Diana H