ycroissant / plm

Panel Data Econometrics with R
GNU General Public License v2.0
49 stars 13 forks source link

Add check.names argument in pdata.frame #26

Closed sondalex closed 1 year ago

sondalex commented 2 years ago

By default, pdata.frame converts the dataframe to class data.frame with data.frame defaults and does not offer further control.

I've added an argument in pdata.frame check.names which is then distributed to data.frame conversion R/tool_pdata.frame.R line 192

This option is useful for scenarios such as the one presented in the new test down below.

tappek commented 1 year ago

I must have overseen this this... sorry! Thanky you for the suggestion! I implemented it more generic via passing on the ellipsis (dots) in https://github.com/ycroissant/plm/commit/21ef60f33464356b4cb9b22f56022eff43ec07e8

Currently testing reverse dependencies with it.