mAvg: A simple function to perfom model averaging using...

Description Usage Arguments Value Examples

View source: R/mAvg.R

Description

This function takes weights and parameters and returns model averaged parameters using the weights.

Usage

1
mAvg(params, ws)

Arguments

params

a (non-empty) numeric vector of parameters

ws

a (non-empty) numeric vector of weights corresponding to params.

Value

Returns a numeric vector of model averaged parameters.

Examples

1
#not run, iternal function

binequality documentation built on Nov. 5, 2018, 5:05 p.m.