In R using the plm
package, pwfdtest
produces an error message even with the test data:
pwfdtest(log(emp) ~ log(wage) + log(capital), data = EmplUK, h0 = "fe")
Error message:
"Error in order(nchar(cnames), decreasing = TRUE) : 4 arguments passed to .Internal(nchar) which requires 3".
Bug or am I missing something?