Forum: developers
Monitor Forum | | RE: marginalEffect(s) [ Reply ] By: Ott Toomet on 2009-05-09 12:57 | [forum:1520] |
|
Going for both singular and plural were perhaps the best way. True, coefficients are in plural as well. |
|
| marginalEffect(s) [ Reply ] By: Arne Henningsen on 2009-05-09 07:34 | [forum:1517] |
|
I would prefer "marginalEffects" over "marginalEffect", because the function (corresponding methods) generally does not return a single marginal effect but all marginal effects. It would also possible to allow for both notations, e.g. marginalEffects <- function(object, ...) UseMethod("marginalEffects") marginalEffect <- function(object, ...) UseMethod("marginalEffects") OR: marginalEffects <- function(object, ...) UseMethod("marginalEffect") marginalEffect <- function(object, ...) UseMethod("marginalEffect") What do you think? |
|

