weighted: Weighted average where 'a' uses 'weight_a' and 'b' uses '1 -...

Description Usage Arguments

View source: R/simulation.R

Description

Weighted average where a uses weight_a and b uses 1 - weight_a

Usage

1
weighted(a, b, weight_a)

Arguments

a

numeric

b

numeric

weight_a

weight given to a (1-weight_a) is used for b


oxacclab/adviseR documentation built on Oct. 7, 2021, 8:05 p.m.