[Rd] default col.names from data.frame not the same as as.data.frame

Spencer Graves @pencer@gr@ve@ @end|ng |rom prod@y@e@com
Mon Dec 9 14:45:23 CET 2019

Hello, All:


 > data.frame(matrix(1:2, 1))
   X1 X2
1  1  2
 > as.data.frame(matrix(1:2, 1))
   V1 V2
1  1  2

       I ask, because I got different default names running the same 
numbers through BMA:::bic.glm.matrix and BMA:::bic.glm.data.frame, so I 
thought I'd ask this group what names you all prefer for examples like 

       Spencer Graves

More information about the R-devel mailing list