On 09/08/2020 3:07 p.m., Duncan Murdoch wrote:
On 09/08/2020 3:01 p.m., John Mount wrote:
Doesn't this preclude "y ~ ." style notations?
Yes, but you can use "y ~ . - w".
And as was pointed out to me offline, often one doesn't have a simple
vector w giving the weights, instead one computes the weights from the
predictors. So if weights = f(pred), the original "y ~ ." would be fine.
Duncan Murdoch
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel