drsimonj/twidlr

Is `.data.frame` method necessary?

drsimonj opened this issue · 0 comments

All the default S3 methods for twidlr functions do is coerce data to a data frame and pass it on.

Given that formula may also need to be coerced (see #19 ), it may be more compact to move everything into the .default method, which will begin with necessary coercions.