popmean: Calulating population mean

Description Usage Arguments Value

View source: R/testfunctions_covariates.R

Description

Given a distribution, this function calculates the population mean for each term in a formula.

Usage

1

Arguments

formula

formula, each term of which will have its mean calculated.

distribution

data.table, characterizing the distribution of the variables entering into formula.

density

string, name of the variable data characterizing the density.

Value

vector, the means for each term in formula.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.