Description Usage Arguments Value
A default function to average the observations in each tree leaf by taking a weighted mean according with minimal variance.
1 | weightedavgMean(x, y, y_sd)
|
x |
A dataframe of observations in the current tree leaf |
y |
A vector of outcomes in the current tree leaf |
y_sd |
A vector. The ith position contains the standard deviation of Y_i |
The weighted averaging of Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.