Learn R Programming

metacart (version 2.0-3)

.ReplaceNA: Replace missing values by the overall weighted mean

Description

Replace missing values by the overall weighted mean

Usage

.ReplaceNA(x1, x2, y, vi, tau2)

Arguments

x1

the two-column matrix of the indices of missing values

x2

the matrix of predicted y with missing values

y

the effect size

vi

the sampling variance

tau2

the residual heterogeneity