powered by
This function takes weights and parameters and returns model averaged parameters using the weights.
mAvg(params, ws)
a (non-empty) numeric vector of parameters
a (non-empty) numeric vector of weights corresponding to params.
Returns a numeric vector of model averaged parameters.
# NOT RUN { #not run, iternal function # }
Run the code above in your browser using DataLab