Running R version 3.3.1 (2016-06-21) Bug in Your Hair
I have discovered an issue with model.frame() with regard to its
implementation of the na.action argument. This impacts the gam package.
We are expecting the last thing to happen in model.frame() is that it
runs na.action on the frame
I am referring to base::rowsum(), not rowSums(). For some reason I cannot
access it's help on my computer but the online documentation (R-devel
version) states:
Value
A matrix or data frame containing the sums. There will be one row per
unique value of group
Period. Above, the argument 'reorder
> 'rowsum()' seems to add row names to the resulting matrix, corresponding to
> the respective 'group' values. This is very handy, but it is not documented.
> Should the documentation mention it so it could be relied upon as part of API?
If you're referring to base::rowSums, the 'value' section o