weighted_var: weighted_var

View source: R/mod_results.R

weighted_varR Documentation

weighted_var

Description

Calculate weighted variance

Usage

weighted_var(x, weights)

Arguments

x

A vector of tau2s to be averaged

weights

Weights, or sample sizes, used to average the variance

Value

Returns a vector with a single weighted variance

Author(s)

Shinichi Nakagawa - s.nakagawa@unsw.edu.au

Daniel Noble - daniel.noble@anu.edu.au


daniel1noble/orchaRd documentation built on May 12, 2024, 7:46 a.m.