distinguish data.frame class from data.frame() function